[wp-trac] [WordPress Trac] #15289: Make it easier for a non-standard URL to be used to access wp-admin
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 9 12:30:49 UTC 2010
#15289: Make it easier for a non-standard URL to be used to access wp-admin
-----------------------------+----------------------------------------------
Reporter: caesarsgrunt | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.1
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
Comment(by caesarsgrunt):
Now... here's what I'd like to be able to do instead.
''In wp-config.php''
{{{
define('WP_ADMIN_URL', 'admin');
define('WP_LOGIN_URL', 'login');
}}}
The rest could be achieved internally with only slight modifications to
core.
In this case I prefer using a constant in wp-config rather than a filter,
because this is something you will want to define once and leave, and it
seems a pity to load extra code in the form of a plugin for a one-off
change like this, when it could be done so simply with a constant.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15289#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list