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

WordPress Trac noreply at wordpress.org
Wed Jan 24 04:31:42 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:
-----------------------------+---------------------

Comment (by dd32):

 In [changeset:"42586"]:
 {{{
 #!CommitTicketReference repository="" revision="42586"
 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.

 Merges [42584] to the 4.9 branch.
 Fixes #43103 for 4.9.
 }}}

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


More information about the wp-trac mailing list