mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
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:
+5
-2
@@ -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' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user