[wp-trac] [WordPress Trac] #35151: New constant `WP_CONTENT_DIR_NAME`

WordPress Trac noreply at wordpress.org
Fri Dec 18 07:16:39 UTC 2015


#35151: New constant `WP_CONTENT_DIR_NAME`
------------------------------+-----------------------------
 Reporter:  sebastian.pisula  |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 If I want change wp-content to other name I must defined three constants:

 WP_CONTENT_DIR
 WP_SITEURL
 WP_CONTENT_URL

 This is not flexible because I can't change url in page settings. I
 suggest add const: WP_CONTENT_DIR_NAME with name of new name.

 I define WP_CONTENT_DIR_NAME with new name and is automatically set. I add
 path

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35151>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list