[wp-trac] [WordPress Trac] #31011: WP 4.1 checks for updates with every load of any admin page

WordPress Trac noreply at wordpress.org
Wed Jan 14 20:23:46 UTC 2015


#31011: WP 4.1 checks for updates with every load of any admin page
-------------------------------+------------------------------
 Reporter:  hallcp             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:  4.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by hallcp):

 Yes, disabling plugins and using the default theme doesn't change
 anything. I was unable to follow the program logic, but I would call your
 attention to these two lines added in update.php with the 4.1 update (as
 mentioned in my original bug description). There were two direct calls
 added:

  wp_update_plugins();         Line 521(?) of update.php
  wp_update_themes();          Line 531(?) of update.php

 These two lines appear to me to bypass the timed update checks. They were
 not present before.
 I got the feeling that the legitimate calls to update came via the
 "_maybe_update_plugins" and "_maybe_update_themes" actions, which do
 appear to check the time and only "maybe" fire off an update.

 Just a guess, but it smells like the problem to me! Thanks for looking
 into this one.

 Charles.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31011#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list