Make WordPress Core

Opened 12 years ago

Closed 11 years ago

Last modified 9 years ago

#24368 closed feature request (maybelater)

Renaming feature for wp-includes

Reported by: joeizzard's profile JoeIzzard Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5.1
Component: Filesystem API Keywords: has-patch dev-feedback 2nd-opinion needs-testing
Focuses: Cc:

Description

Currently it is possible to rename wp-content to anything you want. WordPress has a definition built in for wp-includes, that is WPINC, however, this definition isn't used in about 15 - 16 core files preventing it from being changed (For example, some CSS doesn't load for the admin bar). I have added the files that I have changed to allow this to work, to work add a definition for WPINC to wp-config with the name of your wp-includes folder without and slashes. Without the definition it just uses the standard wp-includes.

Attachments (2)

patch.zip (136.6 KB) - added by JoeIzzard 12 years ago.
Zip folder containing all edited files for feature to function
24368.patch (67.6 KB) - added by JoeIzzard 12 years ago.
Patch file for this feature

Download all attachments as: .zip

Change History (7)

@JoeIzzard
12 years ago

Zip folder containing all edited files for feature to function

@JoeIzzard
12 years ago

Patch file for this feature

#1 @JoeIzzard
12 years ago

  • Keywords needs-testing added

#2 @SergeyBiryukov
12 years ago

Related/duplicate: #23249

#3 @dd32
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

WordPress doesn't really support changing the location of core files, even with the constant available, it's not designed to be overridden.

I'm closing this as maybe later since there is currently no immediate planned support for this. Another core dev can re-open in the future if we decide to go down this path.

#4 @SergeyBiryukov
11 years ago

#28264 was marked as a duplicate.

#5 @peterwilsoncc
9 years ago

#35061 was marked as a duplicate.

Note: See TracTickets for help on using tickets.