Add the load-edit-link-categories.php hook for back compat. fixes #16307.
git-svn-id: https://develop.svn.wordpress.org/trunk@17333 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4ab2d68486
commit
b8c1e1bb13
@ -224,8 +224,11 @@ if ( isset($plugin_page) ) {
|
||||
do_action( 'load-page-new.php' );
|
||||
elseif ( $pagenow == 'post.php' )
|
||||
do_action( 'load-page.php' );
|
||||
} elseif ( $taxnow == 'category' && $pagenow == 'edit-tags.php' ) {
|
||||
do_action( 'load-categories.php' );
|
||||
} elseif ( $pagenow == 'edit-tags.php' ) {
|
||||
if ( $taxnow == 'category' )
|
||||
do_action( 'load-categories.php' );
|
||||
elseif ( $taxnow == 'link_category' )
|
||||
do_action( 'load-edit-link-categories.php' );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user