[wp-trac] [WordPress Trac] #18169: [15491] prevents to plug into the update API
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 24 00:21:05 UTC 2011
#18169: [15491] prevents to plug into the update API
-------------------------------+------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: needs-patch => has-patch
Comment:
We could probably move the `if ( !$args )` check to `themes_api()` after
`themes_api_args` filter, however `$args` is no longer false there, since
`per_page` is set earlier. We'd have to unset it again just to check.
So a new filter specific to the current tab looks like a cleaner solution.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18169#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list