Opened 11 years ago
Closed 11 years ago
#34030 closed defect (bug) (fixed)
Plugins API: Request only data which is needed
| Reported by: | ocean90 | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Plugins | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | performance |
Description (last modified by )
There are some plugins_api() calls which are requesting all data fields even if only some of them are used. We should define the fields to reduce execution time and memory usage.
Defaults:
'short_description' => true, 'description' => false, 'sections' => true, 'tested' => true, 'requires' => true, 'rating' => true, 'ratings' => true, 'downloaded' => true, 'downloadlink' => true, 'last_updated' => true, 'added' => true, 'tags' => true, 'compatibility' => true, 'homepage' => true, 'versions' => false, 'donate_link' => true, 'reviews' => false, 'banners' => false, 'icons' => false, 'active_installs' => false, 'group' => false, 'contributors' => false,
Attachments (2)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
5 plugins: Time: -0.3s, Memory: -0.1M