/wp-register.php
PHP | 15 lines | 5 code | 1 blank | 9 comment | 0 complexity | d09916236fec6752c45c52499d6e2afb MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0, LGPL-2.1
- <?php
- /**
- * Used to be the page which displayed the registration form.
- *
- * This file is no longer used in WordPress and is
- * deprecated.
- *
- * @package WordPress
- * @deprecated Use wp_register() to create a registration link instead
- */
- require('./wp-load.php');
- wp_redirect( site_url('wp-login.php?action=register') );
- exit;
- ?>