[wp-hackers] define( 'WP_ADMIN', 'bleh' ) ?

Andrew Nacin wp at andrewnacin.com
Tue Jun 21 15:53:41 UTC 2011


On Tue, Jun 21, 2011 at 11:06 AM, Jon Cave <jon at lionsgoroar.co.uk> wrote:

> On Tue, Jun 21, 2011 at 3:59 PM, Ozh <ozh at ozh.org> wrote:
> > Out of curiosity: since you can move some directories around with a
> > user-defined constant, why didn't this get expanded to the wp-admin
> > directory?
> > (I'm surprised I didn't find any ticket suggesting this -- or my
> > searching skills suck)
>
> http://core.trac.wordpress.org/ticket/15289
>
> Though that's only about having a custom URL. I'm sure there must be a
> ticket about moving the files, but my quick search didn't turn
> anything up.


It's something we haven't wanted to bother to support. Introducing this
means greater areas of test coverage and inherently more fragile code. I
wouldn't expect anything anytime soon. There's some ways I imagine with
filters and rewriting to move the URL, while leaving the directory in place.

Nacin


More information about the wp-hackers mailing list