[wp-trac] [WordPress Trac] #34264: Don't use a variable for the `do_feed_{feed}` action name
WordPress Trac
noreply at wordpress.org
Tue Oct 13 01:02:49 UTC 2015
#34264: Don't use a variable for the `do_feed_{feed}` action name
--------------------------+---------------------------
Reporter: johnbillion | Owner: DrewAPicture
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Feeds | Version: 2.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
--------------------------+---------------------------
Changes (by DrewAPicture):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"35097"]:
{{{
#!CommitTicketReference repository="" revision="35097"
Feeds: Adjust the `do_feed_{$feed}` hook name to actually be dynamic,
rather than pre-storing the tag name in a variable and referencing that.
Props johnbillion.
Fixes #34264.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34264#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list