[wp-trac] [WordPress Trac] #26104: created_term action hook only passes 1 parameter (should be 3)
WordPress Trac
noreply at wordpress.org
Tue Nov 19 00:02:22 UTC 2013
#26104: created_term action hook only passes 1 parameter (should be 3)
-------------------------------------------------+-------------------------
Reporter: kiddhustle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Taxonomy | Review
Severity: major | Version: 3.7.1
Keywords: needs-patch needs-testing needs- | Resolution:
docs |
-------------------------------------------------+-------------------------
Comment (by nofearinc):
You'd need to specify how many parameters are you using, i.e.:
{{{ add_action('created_term', 'my_created_term', 10, 3); }}}
Where `10` stands for priority (order of operations) and `3` is the number
of arguments.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26104#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list