[wp-trac] [WordPress Trac] #40636: Can you have duplicate hook names?
WordPress Trac
noreply at wordpress.org
Tue May 2 18:57:54 UTC 2017
#40636: Can you have duplicate hook names?
--------------------------+------------------------
Reporter: chunkford | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 4.7.4
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Changes (by johnbillion):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Thanks for the report, @chunkford!
The short answer is that yes you can have duplicate hook names (as noted
by the line preceding the action in `class-wp-terms-list-table.php`).
However, it is indeed a bug that the two instances of this hook pass
different parameters. We're already tracking that issue (along with
others) in #38462.
If you want to follow along with #38462 then you can click the star next
to the title to receive notifications.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40636#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list