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:
parent
405e7dfa4f
commit
495c7f1782
|
@ -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' ) {
|
||||||
|
if ( $taxnow == 'category' )
|
||||||
do_action( 'load-categories.php' );
|
do_action( 'load-categories.php' );
|
||||||
|
elseif ( $taxnow == 'link_category' )
|
||||||
|
do_action( 'load-edit-link-categories.php' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue