[wp-trac] [WordPress Trac] #29079: themes_api_result filter should use original arguments

WordPress Trac noreply at wordpress.org
Sat Feb 7 06:20:45 UTC 2015


#29079: themes_api_result filter should use original arguments
------------------------------+-----------------------------
 Reporter:  Corphi            |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.2
Component:  Themes            |     Version:  3.7.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"31363"]:
 {{{
 #!CommitTicketReference repository="" revision="31363"
 Avoid inadvertent stomping of the original `$args` parameter passed to
 `plugins_api_result` and `themes_api_result` filters in `plugins_api()`
 and `themes_api()`, respectively.

 Fixes a regression introduced in [25956].

 props Corphi, obenland.
 fixes #29079.
 }}}

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


More information about the wp-trac mailing list