Skip to content
Browse files

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

…307.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 405e7df commit 495c7f1782ac8640a068f1f497716d5c8fd09e8d nacin committed
Showing with 5 additions and 2 deletions.
  1. +5 −2 wp-admin/admin.php
View
7 wp-admin/admin.php
@@ -224,8 +224,11 @@
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' );
}
}

0 comments on commit 495c7f1

Please sign in to comment.
Something went wrong with that request. Please try again.