[wp-trac] [WordPress Trac] #43103: Reduce Plugin/theme API calls during core release windows

WordPress Trac noreply at wordpress.org
Wed Jan 24 04:16:20 UTC 2018


#43103: Reduce Plugin/theme API calls during core release windows
-----------------------------+---------------------
 Reporter:  dd32             |       Owner:  dd32
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  4.9.3
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |     Focuses:
-----------------------------+---------------------
Changes (by dd32):

 * owner:   => dd32
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42584"]:
 {{{
 #!CommitTicketReference repository="" revision="42584"
 Updates: Only trigger Background Update processes from within the core
 update check when a core autoupdate is on offer.

 This change reduces the number of API calls which WordPress makes to
 api.wordpress.org during release windows.

 Previously the background updates would run upon every core update
 transient refresh, however now they'll only run if there's an update
 available.
 The change also increases the cache period for plugin & theme checks when
 running via the cron, from never-cache to 2 hours, which should hopefully
 reduce the number of needless API calls.

 Fixes #43103 for trunk.
 }}}

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


More information about the wp-trac mailing list