Changeset 32974
- Timestamp:
- 06/27/2015 03:40:27 PM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 57 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r32642 r32974 118 118 <div class="wrap"> 119 119 120 <h 2><?php echo esc_html( $title ); ?></h2>120 <h1><?php echo esc_html( $title ); ?></h1> 121 121 122 122 <?php -
trunk/src/wp-admin/css/common.css
r32973 r32974 329 329 } 330 330 331 .wrap > h1, 331 332 h2 { 332 333 color: #23282d; … … 565 566 } 566 567 568 .wrap h1, 567 569 .wrap h2, 568 570 .subtitle { … … 571 573 } 572 574 575 .wrap h1, 573 576 .wrap h2 { 574 577 font-size: 23px; -
trunk/src/wp-admin/custom-background.php
r32913 r32974 177 177 ?> 178 178 <div class="wrap" id="custom-background"> 179 <h 2><?php _e( 'Custom Background' ); ?></h2>179 <h1><?php _e( 'Custom Background' ); ?></h1> 180 180 181 181 <?php if ( current_user_can( 'customize' ) ) { ?> -
trunk/src/wp-admin/custom-header.php
r32913 r32974 447 447 448 448 <div class="wrap"> 449 <h 2><?php _e( 'Custom Header' ); ?></h2>449 <h1><?php _e( 'Custom Header' ); ?></h1> 450 450 451 451 <?php if ( current_user_can( 'customize' ) ) { ?> … … 755 755 756 756 <div class="wrap"> 757 <h 2><?php _e( 'Crop Header Image' ); ?></h2>757 <h1><?php _e( 'Crop Header Image' ); ?></h1> 758 758 759 759 <form method="post" action="<?php echo esc_url(add_query_arg('step', 3)); ?>"> -
trunk/src/wp-admin/edit-comments.php
r32333 r32974 141 141 142 142 <div class="wrap"> 143 <h 2><?php143 <h1><?php 144 144 if ( $post_id ) 145 145 echo sprintf( __( 'Comments on “%s”' ), … … 154 154 if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 155 155 echo '<span class="subtitle">' . sprintf( __( 'Search results for “%s”' ), wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '…' ) ) . '</span>'; ?> 156 </h 2>156 </h1> 157 157 158 158 <?php -
trunk/src/wp-admin/edit-form-advanced.php
r32870 r32974 415 415 416 416 <div class="wrap"> 417 <h 2><?php417 <h1><?php 418 418 echo esc_html( $title ); 419 419 if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) ) 420 420 echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="add-new-h2">' . esc_html( $post_type_object->labels->add_new ) . '</a>'; 421 ?></h 2>421 ?></h1> 422 422 <?php if ( $notice ) : ?> 423 423 <div id="notice" class="notice notice-warning"><p id="has-newer-autosave"><?php echo $notice ?></p></div> -
trunk/src/wp-admin/edit-form-comment.php
r32945 r32974 14 14 <?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?> 15 15 <div class="wrap"> 16 <h 2><?php _e('Edit Comment'); ?></h2>16 <h1><?php _e( 'Edit Comment' ); ?></h1> 17 17 18 18 <div id="poststuff"> -
trunk/src/wp-admin/edit-link-form.php
r32116 r32974 71 71 72 72 <div class="wrap"> 73 <h 2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a></h2>73 <h1><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a></h1> 74 74 75 75 <?php if ( isset( $_GET['added'] ) ) : ?> -
trunk/src/wp-admin/edit-tag-form.php
r31973 r32974 63 63 64 64 <div class="wrap"> 65 <h 2><?php echo $tax->labels->edit_item; ?></h2>65 <h1><?php echo $tax->labels->edit_item; ?></h1> 66 66 <div id="ajax-response"></div> 67 67 <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate" -
trunk/src/wp-admin/edit-tags.php
r32792 r32974 313 313 314 314 <div class="wrap nosubsub"> 315 <h 2><?php echo esc_html( $title );315 <h1><?php echo esc_html( $title ); 316 316 if ( !empty($_REQUEST['s']) ) 317 317 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?> 318 </h 2>318 </h1> 319 319 320 320 <?php if ( $message ) : ?> -
trunk/src/wp-admin/edit.php
r32642 r32974 284 284 ?> 285 285 <div class="wrap"> 286 <h 2><?php286 <h1><?php 287 287 echo esc_html( $post_type_object->labels->name ); 288 288 if ( current_user_can( $post_type_object->cap->create_posts ) ) … … 290 290 if ( ! empty( $_REQUEST['s'] ) ) 291 291 printf( ' <span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() ); 292 ?></h 2>292 ?></h1> 293 293 294 294 <?php -
trunk/src/wp-admin/export.php
r32116 r32974 144 144 145 145 <div class="wrap"> 146 <h 2><?php echo esc_html( $title ); ?></h2>146 <h1><?php echo esc_html( $title ); ?></h1> 147 147 148 148 <p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p> -
trunk/src/wp-admin/import.php
r32116 r32974 53 53 54 54 <div class="wrap"> 55 <h 2><?php echo esc_html( $title ); ?></h2>55 <h1><?php echo esc_html( $title ); ?></h1> 56 56 <?php if ( ! empty( $_GET['invalid'] ) ) : ?> 57 57 <div class="error"><p><strong><?php _e('ERROR:')?></strong> <?php printf( __('The <strong>%s</strong> importer is invalid or is not installed.'), esc_html( $_GET['invalid'] ) ); ?></p></div> -
trunk/src/wp-admin/includes/class-wp-upgrader-skins.php
r32965 r32974 85 85 $this->done_header = true; 86 86 echo '<div class="wrap">'; 87 echo '<h 2>' . $this->options['title'] . '</h2>';87 echo '<h1>' . $this->options['title'] . '</h1>'; 88 88 } 89 89 -
trunk/src/wp-admin/index.php
r32116 r32974 94 94 95 95 <div class="wrap"> 96 <h 2><?php echo esc_html( $title ); ?></h2>96 <h1><?php echo esc_html( $title ); ?></h1> 97 97 98 98 <?php if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) : -
trunk/src/wp-admin/js/common.js
r32844 r32974 371 371 372 372 // Move .notice, .updated and .error alert boxes. Don't move boxes designed to be inline. 373 $firstHeading = $( 'div.wrap h2:first' ); 373 $firstHeading = $( '.wrap > h1:first' ); 374 375 // Back compatibility: if there is no H1, apply to first H2. 376 if ( ! $firstHeading.length ) { 377 $firstHeading = $( '.wrap h2:first' ); 378 } 379 374 380 $firstHeading.nextAll( 'div.updated, div.error, div.notice' ).addClass( 'below-h2' ); 375 381 $( 'div.updated, div.error, div.notice' ).not( '.below-h2, .inline' ).insertAfter( $firstHeading ); -
trunk/src/wp-admin/js/theme.js
r31995 r32974 85 85 86 86 // Defines search element container 87 searchContainer: $( '#wpbody h 2:first' ),87 searchContainer: $( '#wpbody h1:first' ), 88 88 89 89 // Search input and view -
trunk/src/wp-admin/link-manager.php
r32116 r32974 70 70 71 71 <div class="wrap nosubsub"> 72 <h 2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php72 <h1><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php 73 73 if ( !empty($_REQUEST['s']) ) 74 74 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?> 75 </h 2>75 </h1> 76 76 77 77 <?php -
trunk/src/wp-admin/media-new.php
r32116 r32974 66 66 ?> 67 67 <div class="wrap"> 68 <h 2><?php echo esc_html( $title ); ?></h2>68 <h1><?php echo esc_html( $title ); ?></h1> 69 69 70 70 <form enctype="multipart/form-data" method="post" action="<?php echo admin_url('media-new.php'); ?>" class="<?php echo esc_attr( $form_class ); ?>" id="file-form"> -
trunk/src/wp-admin/media.php
r32116 r32974 104 104 105 105 <div class="wrap"> 106 <h 2>106 <h1> 107 107 <?php 108 108 echo esc_html( $title ); … … 110 110 <a href="media-new.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> 111 111 <?php } ?> 112 </h 2>112 </h1> 113 113 114 114 <form method="post" class="media-upload-form" id="media-single-form"> -
trunk/src/wp-admin/ms-delete-site.php
r32381 r32974 33 33 34 34 echo '<div class="wrap">'; 35 echo '<h 2>' . esc_html( $title ) . '</h2>';35 echo '<h1>' . esc_html( $title ) . '</h1>'; 36 36 37 37 if ( isset( $_POST['action'] ) && $_POST['action'] == 'deleteblog' && isset( $_POST['confirmdelete'] ) && $_POST['confirmdelete'] == '1' ) { -
trunk/src/wp-admin/my-sites.php
r32116 r32974 57 57 58 58 <div class="wrap"> 59 <h 2><?php echo esc_html( $title ); ?></h2>59 <h1><?php echo esc_html( $title ); ?></h1> 60 60 <?php 61 61 if ( empty( $blogs ) ) : -
trunk/src/wp-admin/nav-menus.php
r32695 r32974 559 559 ?> 560 560 <div class="wrap"> 561 <h 2class="nav-tab-wrapper">561 <h1 class="nav-tab-wrapper"> 562 562 <a href="<?php echo admin_url( 'nav-menus.php' ); ?>" class="nav-tab<?php if ( ! isset( $_GET['action'] ) || isset( $_GET['action'] ) && 'locations' != $_GET['action'] ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Edit Menus' ); ?></a> 563 563 <?php if ( $num_locations && $menu_count ) : ?> 564 564 <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'locations' ), admin_url( 'nav-menus.php' ) ) ); ?>" class="nav-tab<?php if ( $locations_screen ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Manage Locations' ); ?></a> 565 565 <?php endif; ?> 566 </h 2>566 </h1> 567 567 <?php 568 568 foreach( $messages as $message ) : -
trunk/src/wp-admin/network.php
r32800 r32974 146 146 ?> 147 147 <div class="wrap"> 148 <h 2><?php echo esc_html( $title ); ?></h2>148 <h1><?php echo esc_html( $title ); ?></h1> 149 149 150 150 <?php -
trunk/src/wp-admin/network/index.php
r32152 r32974 66 66 67 67 <div class="wrap"> 68 <h 2><?php echo esc_html( $title ); ?></h2>68 <h1><?php echo esc_html( $title ); ?></h1> 69 69 70 70 <div id="dashboard-widgets-wrap"> -
trunk/src/wp-admin/network/settings.php
r32152 r32974 120 120 121 121 <div class="wrap"> 122 <h 2><?php echo esc_html( $title ); ?></h2>122 <h1><?php echo esc_html( $title ); ?></h1> 123 123 <form method="post" action="settings.php" novalidate="novalidate"> 124 124 <?php wp_nonce_field( 'siteoptions' ); ?> -
trunk/src/wp-admin/network/site-info.php
r32761 r32974 138 138 139 139 <div class="wrap"> 140 <h 2 id="edit-site"><?php echo $title_site_url_linked ?></h2>140 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 141 141 <h3 class="nav-tab-wrapper"> 142 142 <?php -
trunk/src/wp-admin/network/site-new.php
r32730 r32974 131 131 132 132 <div class="wrap"> 133 <h 2 id="add-new-site"><?php _e('Add New Site') ?></h2>133 <h1 id="add-new-site"><?php _e( 'Add New Site' ); ?></h1> 134 134 <?php 135 135 if ( ! empty( $messages ) ) { -
trunk/src/wp-admin/network/site-settings.php
r32152 r32974 88 88 89 89 <div class="wrap"> 90 <h 2 id="edit-site"><?php echo $title_site_url_linked ?></h2>90 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 91 91 <h3 class="nav-tab-wrapper"> 92 92 <?php -
trunk/src/wp-admin/network/site-themes.php
r32152 r32974 140 140 141 141 <div class="wrap"> 142 <h 2 id="edit-site"><?php echo $title_site_url_linked ?></h2>142 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 143 143 <h3 class="nav-tab-wrapper"> 144 144 <?php -
trunk/src/wp-admin/network/site-users.php
r32730 r32974 183 183 184 184 <div class="wrap"> 185 <h 2 id="edit-site"><?php echo $title_site_url_linked ?></h2>185 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 186 186 <h3 class="nav-tab-wrapper"> 187 187 <?php -
trunk/src/wp-admin/network/sites.php
r32152 r32974 68 68 ?> 69 69 <div class="wrap"> 70 <h 2><?php _e( 'Confirm your action' ); ?></h2>70 <h1><?php _e( 'Confirm your action' ); ?></h1> 71 71 <form action="sites.php?action=<?php echo esc_attr( $_GET['action2'] ) ?>" method="post"> 72 72 <input type="hidden" name="action" value="<?php echo esc_attr( $_GET['action2'] ) ?>" /> … … 249 249 250 250 <div class="wrap"> 251 <h 2><?php _e( 'Sites' )?>251 <h1><?php _e( 'Sites' ); ?> 252 252 253 253 <?php if ( current_user_can( 'create_sites') ) : ?> … … 258 258 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $s ) ); 259 259 } ?> 260 </h 2>260 </h1> 261 261 262 262 <?php echo $msg; ?> -
trunk/src/wp-admin/network/themes.php
r32116 r32974 87 87 88 88 echo '<div class="wrap">'; 89 echo '<h 2>' . esc_html( $title ) . '</h2>';89 echo '<h1>' . esc_html( $title ) . '</h1>'; 90 90 91 91 $url = self_admin_url('update.php?action=update-selected-themes&themes=' . urlencode( join(',', $themes) )); … … 151 151 <div class="wrap"> 152 152 <?php if ( 1 == $themes_to_delete ) : ?> 153 <h 2><?php _e( 'Delete Theme' ); ?></h2>153 <h1><?php _e( 'Delete Theme' ); ?></h1> 154 154 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'This theme may be active on other sites in the network.' ); ?></p></div> 155 155 <p><?php _e( 'You are about to remove the following theme:' ); ?></p> 156 156 <?php else : ?> 157 <h 2><?php _e( 'Delete Themes' ); ?></h2>157 <h1><?php _e( 'Delete Themes' ); ?></h1> 158 158 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'These themes may be active on other sites in the network.' ); ?></p></div> 159 159 <p><?php _e( 'You are about to remove the following themes:' ); ?></p> … … 262 262 263 263 <div class="wrap"> 264 <h 2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php }264 <h1><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } 265 265 if ( $s ) 266 266 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> 267 </h 2>267 </h1> 268 268 269 269 <?php -
trunk/src/wp-admin/network/upgrade.php
r32642 r32974 40 40 41 41 echo '<div class="wrap">'; 42 echo '<h 2>' . __( 'Upgrade Network' ) . '</h2>';42 echo '<h1>' . __( 'Upgrade Network' ) . '</h1>'; 43 43 44 44 $action = isset($_GET['action']) ? $_GET['action'] : 'show'; -
trunk/src/wp-admin/network/user-new.php
r32774 r32974 71 71 72 72 <div class="wrap"> 73 <h 2 id="add-new-user"><?php _e('Add New User') ?></h2>73 <h1 id="add-new-user"><?php _e( 'Add New User' ); ?></h1> 74 74 <?php 75 75 if ( ! empty( $messages ) ) { -
trunk/src/wp-admin/network/users.php
r32654 r32974 27 27 } 28 28 ?> 29 <h 2><?php esc_html_e( 'Users' ); ?></h2>29 <h1><?php esc_html_e( 'Users' ); ?></h1> 30 30 31 31 <?php if ( 1 == count( $users ) ) : ?> … … 310 310 ?> 311 311 <div class="wrap"> 312 <h 2><?php esc_html_e( 'Users' );312 <h1><?php esc_html_e( 'Users' ); 313 313 if ( current_user_can( 'create_users') ) : ?> 314 314 <a href="<?php echo network_admin_url('user-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php … … 318 318 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $usersearch ) ); 319 319 ?> 320 </h 2>320 </h1> 321 321 322 322 <?php $wp_list_table->views(); ?> -
trunk/src/wp-admin/options-discussion.php
r32569 r32974 52 52 53 53 <div class="wrap"> 54 <h 2><?php echo esc_html( $title ); ?></h2>54 <h1><?php echo esc_html( $title ); ?></h1> 55 55 56 56 <form method="post" action="options.php"> -
trunk/src/wp-admin/options-general.php
r32642 r32974 110 110 111 111 <div class="wrap"> 112 <h 2><?php echo esc_html( $title ); ?></h2>112 <h1><?php echo esc_html( $title ); ?></h1> 113 113 114 114 <form method="post" action="options.php" novalidate="novalidate"> -
trunk/src/wp-admin/options-media.php
r32642 r32974 41 41 42 42 <div class="wrap"> 43 <h 2><?php echo esc_html( $title ); ?></h2>43 <h1><?php echo esc_html( $title ); ?></h1> 44 44 45 45 <form action="options.php" method="post"> -
trunk/src/wp-admin/options-permalink.php
r32116 r32974 176 176 177 177 <div class="wrap"> 178 <h 2><?php echo esc_html( $title ); ?></h2>178 <h1><?php echo esc_html( $title ); ?></h1> 179 179 180 180 <form name="form" action="options-permalink.php" method="post"> -
trunk/src/wp-admin/options-reading.php
r32116 r32974 75 75 76 76 <div class="wrap"> 77 <h 2><?php echo esc_html( $title ); ?></h2>77 <h1><?php echo esc_html( $title ); ?></h1> 78 78 79 79 <form method="post" action="options.php"> -
trunk/src/wp-admin/options-writing.php
r32454 r32974 51 51 52 52 <div class="wrap"> 53 <h 2><?php echo esc_html( $title ); ?></h2>53 <h1><?php echo esc_html( $title ); ?></h1> 54 54 55 55 <form method="post" action="options.php"> -
trunk/src/wp-admin/options.php
r32455 r32974 227 227 228 228 <div class="wrap"> 229 <h 2><?php esc_html_e('All Settings'); ?></h2>229 <h1><?php esc_html_e( 'All Settings' ); ?></h1> 230 230 <form name="form" action="options.php" method="post" id="all-options"> 231 231 <?php wp_nonce_field('options-options') ?> -
trunk/src/wp-admin/plugin-editor.php
r32116 r32974 29 29 ?> 30 30 <div class="wrap"> 31 <h 2><?php echo esc_html( $title ); ?></h2>31 <h1><?php echo esc_html( $title ); ?></h1> 32 32 <div id="message" class="error"><p><?php _e( 'You do not appear to have any plugins available at this time.' ); ?></p></div> 33 33 </div> … … 175 175 <?php endif; ?> 176 176 <div class="wrap"> 177 <h 2><?php echo esc_html( $title ); ?></h2>177 <h1><?php echo esc_html( $title ); ?></h1> 178 178 179 179 <div class="fileedit-sub"> -
trunk/src/wp-admin/plugin-install.php
r32116 r32974 95 95 ?> 96 96 <div class="wrap"> 97 <h 2>97 <h1> 98 98 <?php 99 99 echo esc_html( $title ); … … 109 109 } 110 110 ?> 111 </h 2>111 </h1> 112 112 113 113 <?php -
trunk/src/wp-admin/plugins.php
r32654 r32974 123 123 124 124 echo '<div class="wrap">'; 125 echo '<h 2>' . esc_html( $title ) . '</h2>';125 echo '<h1>' . esc_html( $title ) . '</h1>'; 126 126 127 127 $url = self_admin_url('update.php?action=update-selected&plugins=' . urlencode( join(',', $plugins) )); … … 289 289 ?> 290 290 <?php if ( 1 == $plugins_to_delete ) : ?> 291 <h 2><?php _e( 'Delete Plugin' ); ?></h2>291 <h1><?php _e( 'Delete Plugin' ); ?></h1> 292 292 <?php if ( $have_non_network_plugins && is_network_admin() ) : ?> 293 293 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'This plugin may be active on other sites in the network.' ); ?></p></div> … … 295 295 <p><?php _e( 'You are about to remove the following plugin:' ); ?></p> 296 296 <?php else: ?> 297 <h 2><?php _e( 'Delete Plugins' ); ?></h2>297 <h1><?php _e( 'Delete Plugins' ); ?></h1> 298 298 <?php if ( $have_non_network_plugins && is_network_admin() ) : ?> 299 299 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'These plugins may be active on other sites in the network.' ); ?></p></div> … … 447 447 448 448 <div class="wrap"> 449 <h 2><?php echo esc_html( $title );449 <h1><?php echo esc_html( $title ); 450 450 if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> 451 451 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a> … … 453 453 if ( $s ) 454 454 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> 455 </h 2>455 </h1> 456 456 457 457 <?php -
trunk/src/wp-admin/revision.php
r32116 r32974 75 75 $post_edit_link = get_edit_post_link(); 76 76 $post_title = '<a href="' . $post_edit_link . '">' . _draft_or_post_title() . '</a>'; 77 $h 2= sprintf( __( 'Compare Revisions of “%1$s”' ), $post_title );77 $h1 = sprintf( __( 'Compare Revisions of “%1$s”' ), $post_title ); 78 78 $return_to_post = '<a href="' . $post_edit_link . '">' . __( '← Return to post editor' ) . '</a>'; 79 79 $title = __( 'Revisions' ); … … 127 127 128 128 <div class="wrap"> 129 <h 2 class="long-header"><?php echo $h2; ?></h2>129 <h1 class="long-header"><?php echo $h1; ?></h1> 130 130 <?php echo $return_to_post; ?> 131 131 </div> -
trunk/src/wp-admin/theme-editor.php
r32116 r32974 132 132 ?> 133 133 <div class="wrap"> 134 <h 2><?php echo esc_html( $title ); ?></h2>134 <h1><?php echo esc_html( $title ); ?></h1> 135 135 136 136 <div class="fileedit-sub"> -
trunk/src/wp-admin/theme-install.php
r32835 r32974 103 103 ?> 104 104 <div class="wrap"> 105 <h 2><?php105 <h1><?php 106 106 echo esc_html( $title ); 107 107 … … 121 121 echo ' <a href="#" class="browse-themes add-new-h2">' . _x( 'Browse', 'themes' ) . '</a>'; 122 122 } 123 ?></h 2>123 ?></h1> 124 124 125 125 <div class="upload-theme"> -
trunk/src/wp-admin/themes.php
r32332 r32974 125 125 126 126 <div class="wrap"> 127 <h 2><?php esc_html_e( 'Themes' ); ?>127 <h1><?php esc_html_e( 'Themes' ); ?> 128 128 <span class="title-count theme-count"><?php echo count( $themes ); ?></span> 129 129 <?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> 130 130 <a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js add-new-h2"><?php echo esc_html_x( 'Add New', 'Add new theme' ); ?></a> 131 131 <?php endif; ?> 132 </h 2>132 </h1> 133 133 <?php 134 134 if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) : ?> -
trunk/src/wp-admin/tools.php
r32116 r32974 34 34 ?> 35 35 <div class="wrap"> 36 <h 2><?php echo esc_html( $title ); ?></h2>36 <h1><?php echo esc_html( $title ); ?></h1> 37 37 38 38 <?php if ( current_user_can('edit_posts') ) : ?> -
trunk/src/wp-admin/update-core.php
r32672 r32974 416 416 ?> 417 417 <div class="wrap"> 418 <h 2><?php _e('Update WordPress'); ?></h2>418 <h1><?php _e( 'Update WordPress' ); ?></h1> 419 419 <?php 420 420 … … 543 543 ?> 544 544 <div class="wrap"> 545 <h 2><?php _e('WordPress Updates'); ?></h2>545 <h1><?php _e( 'WordPress Updates' ); ?></h1> 546 546 <?php 547 547 if ( $upgrade_error ) { … … 625 625 require_once(ABSPATH . 'wp-admin/admin-header.php'); 626 626 echo '<div class="wrap">'; 627 echo '<h 2>' . esc_html__('Update Plugins') . '</h2>';627 echo '<h1>' . __( 'Update Plugins' ) . '</h1>'; 628 628 echo '<iframe src="', $url, '" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0"></iframe>'; 629 629 echo '</div>'; … … 654 654 ?> 655 655 <div class="wrap"> 656 <h 2><?php echo esc_html__('Update Themes') ?></h2>656 <h1><?php _e( 'Update Themes' ); ?></h1> 657 657 <iframe src="<?php echo $url ?>" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0"></iframe> 658 658 </div> -
trunk/src/wp-admin/upload.php
r32116 r32974 72 72 ?> 73 73 <div class="wrap" id="wp-media-grid" data-search="<?php _admin_search_query() ?>"> 74 <h 2>74 <h1> 75 75 <?php 76 76 echo esc_html( $title ); … … 79 79 } 80 80 ?> 81 </h 2>81 </h1> 82 82 <div class="error hide-if-js"> 83 83 <p><?php _e( 'The grid view for the Media Library requires JavaScript. <a href="upload.php?mode=list">Switch to the list view</a>.' ); ?></p> … … 207 207 208 208 <div class="wrap"> 209 <h 2>209 <h1> 210 210 <?php 211 211 echo esc_html( $title ); … … 215 215 if ( ! empty( $_REQUEST['s'] ) ) 216 216 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() ); ?> 217 </h 2>217 </h1> 218 218 219 219 <?php -
trunk/src/wp-admin/user-edit.php
r32799 r32974 203 203 204 204 <div class="wrap" id="profile-page"> 205 <h 2>205 <h1> 206 206 <?php 207 207 echo esc_html( $title ); … … 213 213 <?php } 214 214 } ?> 215 </h 2>215 </h1> 216 216 <form id="your-profile" action="<?php echo esc_url( self_admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post" novalidate="novalidate"<?php 217 217 /** -
trunk/src/wp-admin/user-new.php
r32654 r32974 238 238 ?> 239 239 <div class="wrap"> 240 <h 2 id="add-new-user"><?php240 <h1 id="add-new-user"><?php 241 241 if ( current_user_can( 'create_users' ) ) { 242 242 echo _x( 'Add New User', 'user' ); … … 244 244 echo _x( 'Add Existing User', 'user' ); 245 245 } ?> 246 </h 2>246 </h1> 247 247 248 248 <?php if ( isset($errors) && is_wp_error( $errors ) ) : ?> -
trunk/src/wp-admin/users.php
r32116 r32974 215 215 216 216 <div class="wrap"> 217 <h 2><?php _e('Delete Users'); ?></h2>217 <h1><?php _e( 'Delete Users' ); ?></h1> 218 218 <?php if ( isset( $_REQUEST['error'] ) ) : ?> 219 219 <div class="error"> … … 337 337 338 338 <div class="wrap"> 339 <h 2><?php _e('Remove Users from Site'); ?></h2>339 <h1><?php _e( 'Remove Users from Site' ); ?></h1> 340 340 <p><?php _e('You have specified these users for removal:'); ?></p> 341 341 <ul> … … 444 444 445 445 <div class="wrap"> 446 <h 2>446 <h1> 447 447 <?php 448 448 echo esc_html( $title ); … … 455 455 if ( $usersearch ) 456 456 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $usersearch ) ); ?> 457 </h 2>457 </h1> 458 458 459 459 <?php $wp_list_table->views(); ?> -
trunk/src/wp-admin/widgets.php
r32654 r32974 236 236 require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> 237 237 <div class="wrap"> 238 <h 2><?php echo esc_html( $title ); ?></h2>238 <h1><?php echo esc_html( $title ); ?></h1> 239 239 <div class="editwidget"<?php echo $width; ?>> 240 240 <h3><?php printf( __( 'Widget %s' ), $name ); ?></h3> … … 316 316 317 317 <div class="wrap"> 318 <h 2>318 <h1> 319 319 <?php 320 320 echo esc_html( $title ); … … 333 333 } 334 334 ?> 335 </h 2>335 </h1> 336 336 337 337 <?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?>
Note: See TracChangeset
for help on using the changeset viewer.