[wp-trac] [WordPress Trac] #22704: Automatic Core Updates

WordPress Trac noreply at wordpress.org
Fri Oct 18 05:03:47 UTC 2013


#22704: Automatic Core Updates
-----------------------------+-----------------------
 Reporter:  pento            |       Owner:  pento
     Type:  task (blessed)   |      Status:  assigned
 Priority:  normal           |   Milestone:  3.7
Component:  Upgrade/Install  |     Version:  3.5
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+-----------------------

Comment (by jeremyfelt):

 Hate leaving this here as I haven't fully figured it out yet. That said...

 Somehow after an automatic update upgraded the db version 25824, the
 cached option for `db_version` on my site was not cleared. This caused a
 loop of sorts when I went to `wp-admin/`.

 `wp-admin/admin.php` detected that the cached option was different than
 expected and redirected to `wp-admin/upgrade.php`. Because `upgrade.php`
 defines `WP_INSTALLING` as true, `get_option( 'db_version' );` performs a
 non cached query and sees that the upgrade was successful, which displays
 [http://cl.ly/image/3s1N3p2K1Y3c this message]. Repeat.

 I dug through briefly to see why the cache wasn't cleared when that option
 was updated during an automatic upgrade, but didn't find anything
 immediately. I'll pick it up and/or be prepared to eat crow in the
 morning. :)

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


More information about the wp-trac mailing list