[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 15:16: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):
Replying to [comment:7 westi]:
> I'm not convinced by the naming or use of the WP_ADMIN_URL define.
The name could be changed to anything else...
> I don't think we should need code to support this.
It's only one constant, accessed in three places. (And also a redirect, in
my patch, though that isn't vital.)[[BR]]
Does that cause any problems? It seems (to me) so trivial, and it reduces
the code needed to do this by such a huge amount in both extent and
complexity.[[BR]]
So far as I can see it causes no problems for standard installations -
does it?
I'm puzzled as to why there is any objection to such a small amount of
code... :-)
> We should ensure that this can be done with a htaccess file stanza and
some plugin filtering of generated urls.
Well, it ''can'' - but as you see from my code above, it's quite complex
when it ''could'' be quite simple.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15289#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list