Changeset 15387
- Timestamp:
- 07/12/2010 03:09:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin.php
r15346 r15387 201 201 } else { 202 202 do_action("load-$pagenow"); 203 // Backwards compatibility with old load-page-new.php, load-page.php, 204 // and load-categories.php actions. 205 if ( $typenow == 'page' ) { 206 if ( $pagenow == 'post-new.php' ) 207 do_action( 'load-page-new.php' ); 208 elseif ( $pagenow == 'post.php' ) 209 do_action( 'load-page.php' ); 210 } elseif ( $taxnow == 'category' && $pagenow == 'edit-tags.php' ) { 211 do_action( 'load-categories.php' ); 212 } 203 213 } 204 214
Note: See TracChangeset
for help on using the changeset viewer.