The Hook that never was. Use correct / Revert back-compat hookname changes in [15820]. See #12285
git-svn-id: https://develop.svn.wordpress.org/trunk@15823 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
839bad194f
commit
cc59063ea9
@ -339,9 +339,9 @@ do_action($taxonomy . '_add_form_fields', $taxonomy);
|
||||
<?php
|
||||
// Back compat hooks. Deprecated in preference to {$taxonomy}_add_form
|
||||
if ( 'category' == $taxonomy )
|
||||
do_action('add_category_form', (object)array('parent' => 0) );
|
||||
do_action('edit_category_form', (object)array('parent' => 0) );
|
||||
elseif ( 'link_category' == $taxonomy )
|
||||
do_action('add_link_category_form', (object)array('parent' => 0) );
|
||||
do_action('edit_link_category_form', (object)array('parent' => 0) );
|
||||
else
|
||||
do_action('add_tag_form', $taxonomy);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user