The Hook that never was. Use correct / Revert back-compat hookname changes in [15820]. See #12285

git-svn-id: http://svn.automattic.com/wordpress/trunk@15823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-10-16 23:50:09 +00:00
parent c62d0b2e1b
commit 508bbe1fe8
1 changed files with 2 additions and 2 deletions

View File

@ -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);