[wp-trac] [WordPress Trac] #34030: Plugins API: Request only data which is needed

WordPress Trac noreply at wordpress.org
Sat Sep 26 15:49:08 UTC 2015


#34030: Plugins API: Request only data which is needed
--------------------------+--------------------------
 Reporter:  ocean90       |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Plugins       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  performance
--------------------------+--------------------------
Changes (by ocean90):

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


Comment:

 In [changeset:"34598"]:
 {{{
 #!CommitTicketReference repository="" revision="34598"
 Plugins: Don't request all fields via `plugins_api( 'plugin_information'
 )` for plugin installs and update checks.

 The Plugins API returns a lot of data by default (see [34596]) but when
 installing or checking for updates we don't need all of it. To save
 bandwidth, memory and time request only required fields.

 Fixes #34030.
 }}}

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


More information about the wp-trac mailing list