Add the load-edit-link-categories.php hook for back compat. fixes #16307.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-01-20 03:05:22 +00:00
parent 405e7dfa4f
commit 495c7f1782
1 changed files with 5 additions and 2 deletions

View File

@ -224,8 +224,11 @@ if ( isset($plugin_page) ) {
do_action( 'load-page-new.php' ); do_action( 'load-page-new.php' );
elseif ( $pagenow == 'post.php' ) elseif ( $pagenow == 'post.php' )
do_action( 'load-page.php' ); do_action( 'load-page.php' );
} elseif ( $taxnow == 'category' && $pagenow == 'edit-tags.php' ) { } elseif ( $pagenow == 'edit-tags.php' ) {
do_action( 'load-categories.php' ); if ( $taxnow == 'category' )
do_action( 'load-categories.php' );
elseif ( $taxnow == 'link_category' )
do_action( 'load-edit-link-categories.php' );
} }
} }