/wp-register.php

https://bitbucket.org/aqge/deptandashboard · PHP · 15 lines · 5 code · 1 blank · 9 comment · 0 complexity · d09916236fec6752c45c52499d6e2afb MD5 · raw file

  1. <?php
  2. /**
  3. * Used to be the page which displayed the registration form.
  4. *
  5. * This file is no longer used in WordPress and is
  6. * deprecated.
  7. *
  8. * @package WordPress
  9. * @deprecated Use wp_register() to create a registration link instead
  10. */
  11. require('./wp-load.php');
  12. wp_redirect( site_url('wp-login.php?action=register') );
  13. exit;
  14. ?>