[wp-trac] [WordPress Trac] #29335: change wp-admin/wp-content/wp-includes by a variable in the code

WordPress Trac noreply at wordpress.org
Sat Aug 23 17:55:06 UTC 2014


#29335: change wp-admin/wp-content/wp-includes by a variable in the code
-------------------------------+------------------------------
 Reporter:  Neustradamus       |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Bootstrap/Load     |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by Neustradamus):

 In the same time, by default, you can add a .htaccess in /

 # Disable directory browsing
 Options All -Indexes


 In the code there are (not all):
 WPINC

 WP_CONTENT_DIR
 WP_CONTENT_URL

 WP_PLUGIN_DIR
 PLUGINDIR
 WP_PLUGIN_URL

 WPMU_PLUGIN_DIR
 MUPLUGINDIR
 WPMU_PLUGIN_URL

 UPLOADS

 Like WP_CONTENT_DIR/WP_CONTENT_URL:
 I will be nice to have a WP_INCLUDES_DIR / WP_INCLUDES_URL for replace wp-
 includes
 It will be nice to have a WP_ADMIN_DIR / WP_ADMIN_URL for replace wp-admin

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29335#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list