[wp-trac] [WordPress Trac] #14484: Make WordPress core updates only update the core

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 31 17:08:42 UTC 2011


#14484: Make WordPress core updates only update the core
-----------------------------+-----------------------
 Reporter:  mtekk            |       Owner:  dd32
     Type:  task (blessed)   |      Status:  accepted
 Priority:  normal           |   Milestone:  3.2
Component:  Upgrade/Install  |     Version:  3.0.2
 Severity:  normal           |  Resolution:
 Keywords:  needs-testing    |
-----------------------------+-----------------------

Comment (by duck_):

 Do we want upgrades to 3.2 to skip the wp-content shenanigans? At present
 moving to 3.2 will overwrite wp-content with that from the downloaded
 package. This is because the upgrade will make use of the 3.1 (or below)
 version of copy_dir without skip lists.

 This could be overcome with a temporary 3.2 version of copy_dir (named
 _copy_dir for example) in update-core.php which would only be included for
 3.2. However, there are a number of drawbacks. This 'fix' would only work
 for updates to 3.2, still the same problem (which would occur anyway) for
 3.1 -> 3.3, unless it was kept indefinitely which doesn't sound good. Also
 I think there would be extra problems with language packs, see #11495
 comment 20, without extra workarounds for 3.2 which doesn't sound nice
 either.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14484#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list