Ticket #26869: load-back-compat.diff
File load-back-compat.diff, 629 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/admin.php
313 313 * @since 2.1.0 314 314 */ 315 315 do_action( 'load-' . $pagenow ); 316 // Backwards compatibility with old load-page-new.php, load-page.php, 317 // and load-categories.php actions. 316 317 /* 318 * The following hooks are fired to ensure backward compatibility. 319 * In all other cases, 'load-' . $pagenow should be used instead. 320 */ 318 321 if ( $typenow == 'page' ) { 319 322 if ( $pagenow == 'post-new.php' ) 320 323 do_action( 'load-page-new.php' );