[wp-trac] [WordPress Trac] #11495: Automatic upgrade does not use custom directory structure

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 31 16:40:46 UTC 2011


#11495: Automatic upgrade does not use custom directory structure
-----------------------------+------------------
 Reporter:  sirzooro         |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  3.2
Component:  Upgrade/Install  |     Version:  2.9
 Severity:  normal           |  Resolution:
 Keywords:  needs-testing    |
-----------------------------+------------------

Comment (by duck_):

 This is going to fatal error on upgrades from a version less than 3.2 to a
 package containing a language directory. This is because the upgrade will
 be using update-core.php from 3.2, but `$wp_filesystem->wp_lang_dir()` is
 not defined in 3.1 and below.

 Might have to check `is_callable` and leave the problem for updates to
 3.2, but fixed from 3.2 and beyond.

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


More information about the wp-trac mailing list