Make WordPress Core


Ignore:
Timestamp:
01/20/2011 03:05:22 AM (16 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin.php

    r17071 r17333  
    225225                elseif ( $pagenow == 'post.php' )
    226226                        do_action( 'load-page.php' );
    227         }  elseif ( $taxnow == 'category' && $pagenow == 'edit-tags.php' ) {
    228                 do_action( 'load-categories.php' );
     227        }  elseif ( $pagenow == 'edit-tags.php' ) {
     228                if ( $taxnow == 'category' )
     229                        do_action( 'load-categories.php' );
     230                elseif ( $taxnow == 'link_category' )
     231                        do_action( 'load-edit-link-categories.php' );
    229232        }
    230233}
Note: See TracChangeset for help on using the changeset viewer.