@@ -167,15 +167,17 @@ |
||
167 | 167 | * In all other cases, 'load-' . $pagenow should be used instead. |
168 | 168 | */ |
169 | 169 | if ( $typenow == 'page' ) { |
170 | - if ( $pagenow == 'post-new.php' ) |
|
171 | - do_action( 'load-page-new.php' ); |
|
172 | - elseif ( $pagenow == 'post.php' ) |
|
173 | - do_action( 'load-page.php' ); |
|
174 | - } elseif ( $pagenow == 'edit-tags.php' ) { |
|
175 | - if ( $taxnow == 'category' ) |
|
176 | - do_action( 'load-categories.php' ); |
|
177 | - elseif ( $taxnow == 'link_category' ) |
|
178 | - do_action( 'load-edit-link-categories.php' ); |
|
170 | + if ( $pagenow == 'post-new.php' ) { |
|
171 | + do_action( 'load-page-new.php' ); |
|
172 | + } elseif ( $pagenow == 'post.php' ) { |
|
173 | + do_action( 'load-page.php' ); |
|
174 | + } |
|
175 | + } elseif ( $pagenow == 'edit-tags.php' ) { |
|
176 | + if ( $taxnow == 'category' ) { |
|
177 | + do_action( 'load-categories.php' ); |
|
178 | + } elseif ( $taxnow == 'link_category' ) { |
|
179 | + do_action( 'load-edit-link-categories.php' ); |
|
180 | + } |
|
179 | 181 | } |
180 | 182 | |
181 | 183 | if ( ! empty( $_REQUEST['action'] ) ) { |