Opened 11 years ago
Last modified 9 years ago
#31744 new enhancement
All PHP files in the root should be dummy files, pointing to wp-includes versions
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Upgrade/Install | Keywords: | dev-feedback |
| Focuses: | Cc: |
Description
I'm proposing that all of our PHP files in the WordPress root should be moved to wp-includes, and dummy versions put in the root that include the wp-includes versions of them.
This will make things cleaner, and will open the door for us to do things like install a new version of WordPress in wp-includes-8fb24cd9, and pass a ?use-wp-includes=8fb24cd9 switch that loads that version. We could test the updated version of WordPress without touching the old version, and if it fails (WSOD, etc), we don't even have to roll back, because we haven't put the new version in wp-includes yet.
Note: See
TracTickets for help on using
tickets.
I think some files would be exempt:
Pros:
Cons:
A few alternatives: