[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:06:28 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
--------------------------+---------------------------
Comment (by DrewAPicture):
In [changeset:"35098"]:
{{{
#!CommitTicketReference repository="" revision="35098"
Feeds: Simplify logic for checking if the `do_feed_{$feed}` action is
hooked to any callbacks.
See [35097] for where the aforementioned hook was renamed to actually be
dynamic, thus rendering creation of the extra `$hook` variable moot.
See #34264.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34264#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list