Ticket #31650: 31650.2.patch
File 31650.2.patch, 38.1 KB (added by , 8 years ago) |
---|
-
src/wp-admin/comment.php
117 117 ?> 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 123 123 switch ( $action ) { -
src/wp-admin/css/common.css
328 328 margin: .67em 0; 329 329 } 330 330 331 h2 {331 .wrap > h1, h2 { 332 332 color: #23282d; 333 333 font-size: 1.5em; 334 334 margin: .83em 0; … … 564 564 color: #00a0d2; 565 565 } 566 566 567 .wrap h1, 567 568 .wrap h2, 568 569 .subtitle { 569 570 font-weight: normal; … … 570 571 margin: 0; 571 572 } 572 573 574 .wrap h1, 573 575 .wrap h2 { 574 576 font-size: 23px; 575 577 font-weight: 400; -
src/wp-admin/custom-background.php
176 176 public function admin_page() { 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' ) ) { ?> 182 182 <div class="notice notice-info hide-if-no-customize"> -
src/wp-admin/custom-header.php
446 446 ?> 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' ) ) { ?> 452 452 <div class="notice notice-info hide-if-no-customize"> … … 754 754 ?> 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)); ?>"> 760 760 <p class="hide-if-no-js"><?php _e('Choose the part of the image you want to use as your header.'); ?></p> -
src/wp-admin/edit-comments.php
140 140 ?> 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”' ), 146 146 sprintf( '<a href="%s">%s</a>', … … 153 153 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 159 159 if ( isset( $_REQUEST['error'] ) ) { -
src/wp-admin/edit-form-advanced.php
407 407 ?> 408 408 409 409 <div class="wrap"> 410 <h 2><?php410 <h1><?php 411 411 echo esc_html( $title ); 412 412 if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) ) 413 413 echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="add-new-h2">' . esc_html( $post_type_object->labels->add_new ) . '</a>'; 414 ?></h 2>414 ?></h1> 415 415 <?php if ( $notice ) : ?> 416 416 <div id="notice" class="notice notice-warning"><p id="has-newer-autosave"><?php echo $notice ?></p></div> 417 417 <?php endif; ?> -
src/wp-admin/edit-form-comment.php
13 13 <form name="post" action="comment.php" method="post" id="post"> 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"> 19 19 <input type="hidden" name="action" value="editedcomment" /> -
src/wp-admin/edit-link-form.php
70 70 ?> 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'] ) ) : ?> 76 76 <div id="message" class="updated notice is-dismissible"><p><?php _e('Link added.'); ?></p></div> -
src/wp-admin/edit-tag-form.php
62 62 do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> 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" 68 68 <?php -
src/wp-admin/edit-tags.php
305 305 ?> 306 306 307 307 <div class="wrap nosubsub"> 308 <h 2><?php echo esc_html( $title );308 <h1><?php echo esc_html( $title ); 309 309 if ( !empty($_REQUEST['s']) ) 310 310 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?> 311 </h 2>311 </h1> 312 312 313 313 <?php if ( $message ) : ?> 314 314 <div id="message" class="<?php echo $class; ?> notice is-dismissible"><p><?php echo $message; ?></p></div> -
src/wp-admin/edit.php
283 283 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 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 ) ) 289 289 echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="add-new-h2">' . esc_html( $post_type_object->labels->add_new ) . '</a>'; 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 295 295 // If we have a bulk message to issue: -
src/wp-admin/export.php
143 143 ?> 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> 149 149 <p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p> -
src/wp-admin/import.php
52 52 ?> 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> 58 58 <?php endif; ?> -
src/wp-admin/includes/class-wp-upgrader-skins.php
84 84 } 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 90 90 /** -
src/wp-admin/index.php
93 93 ?> 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' ) ) : 99 99 $classes = 'welcome-panel'; -
src/wp-admin/js/common.js
172 172 173 173 $(document).ready( function() { 174 174 var checks, first, last, checked, sliced, mobileEvent, transitionTimeout, focusedRowActions, $firstHeading, 175 $firstH1 = $( 'div.wrap > h1' ), 175 176 lastClicked = false, 176 177 pageInput = $('input.current-page'), 177 178 currentPage = pageInput.val(), … … 369 370 } 370 371 371 372 // Move .notice, .updated and .error alert boxes. Don't move boxes designed to be inline. 372 $firstHeading = $( 'div.wrap h2:first' ); 373 // Back compatibility: if first descendant is not H1, apply to first H2. 374 if ( $firstH1.length == 1 ) { 375 $firstHeading = $( 'div.wrap h1:first' ); 376 } else { 377 $firstHeading = $( 'div.wrap h2:first' ); 378 } 373 379 $firstHeading.nextAll( 'div.updated, div.error, div.notice' ).addClass( 'below-h2' ); 374 380 $( 'div.updated, div.error, div.notice' ).not( '.below-h2, .inline' ).insertAfter( $firstHeading ); 375 381 -
src/wp-admin/js/theme.js
84 84 }, 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 90 90 // for current theme collection -
src/wp-admin/link-manager.php
69 69 ?> 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 78 78 if ( isset($_REQUEST['deleted']) ) { -
src/wp-admin/media-new.php
65 65 $form_class .= ' html-uploader'; 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"> 71 71 -
src/wp-admin/media.php
103 103 ?> 104 104 105 105 <div class="wrap"> 106 <h 2>106 <h1> 107 107 <?php 108 108 echo esc_html( $title ); 109 109 if ( current_user_can( 'upload_files' ) ) { ?> 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"> 115 115 <p class="submit" style="padding-bottom: 0;"> -
src/wp-admin/ms-delete-site.php
32 32 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 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' ) { 38 38 check_admin_referer( 'delete-blog' ); -
src/wp-admin/my-sites.php
56 56 <?php } ?> 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 ) ) : 62 62 echo '<p>'; -
src/wp-admin/nav-menus.php
558 558 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 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 ) : 569 569 echo $message . "\n"; -
src/wp-admin/network.php
145 145 include( ABSPATH . 'wp-admin/admin-header.php' ); 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 151 151 /** -
src/wp-admin/network/index.php
65 65 ?> 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"> 71 71 -
src/wp-admin/network/settings.php
119 119 ?> 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' ); ?> 125 125 <h3><?php _e( 'Operational Settings' ); ?></h3> -
src/wp-admin/network/site-info.php
99 99 ?> 100 100 101 101 <div class="wrap"> 102 <h 2 id="edit-site"><?php echo $title_site_url_linked ?></h2>102 <h1 id="edit-site"><?php echo $title_site_url_linked; ?></h1> 103 103 <h3 class="nav-tab-wrapper"> 104 104 <?php 105 105 $tabs = array( -
src/wp-admin/network/site-new.php
130 130 ?> 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 ) ) { 136 136 foreach ( $messages as $msg ) -
src/wp-admin/network/site-settings.php
87 87 ?> 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 93 93 $tabs = array( -
src/wp-admin/network/site-themes.php
139 139 require( ABSPATH . 'wp-admin/admin-header.php' ); ?> 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 145 145 $tabs = array( -
src/wp-admin/network/site-users.php
182 182 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 188 188 $tabs = array( -
src/wp-admin/network/sites.php
67 67 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 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'] ) ?>" /> 73 73 <input type="hidden" name="id" value="<?php echo esc_attr( $id ); ?>" /> … … 248 248 ?> 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') ) : ?> 254 254 <a href="<?php echo network_admin_url('site-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'site' ); ?></a> … … 257 257 <?php if ( isset( $_REQUEST['s'] ) && $_REQUEST['s'] ) { 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; ?> 263 263 -
src/wp-admin/network/themes.php
86 86 require_once(ABSPATH . 'wp-admin/admin-header.php'); 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) )); 92 92 $url = wp_nonce_url($url, 'bulk-update-themes'); … … 150 150 ?> 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> 160 160 <?php endif; ?> … … 261 261 ?> 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 270 270 if ( isset( $_GET['enabled'] ) ) { -
src/wp-admin/network/upgrade.php
39 39 wp_die( __( 'You do not have permission to access this page.' ), 403 ); 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'; 45 45 -
src/wp-admin/network/user-new.php
70 70 require( ABSPATH . 'wp-admin/admin-header.php' ); ?> 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 ) ) { 76 76 foreach ( $messages as $msg ) -
src/wp-admin/network/users.php
26 26 return false; 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 ) ) : ?> 32 32 <p><?php _e( 'You have chosen to delete the user from all networks and sites.' ); ?></p> … … 309 309 } 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 315 315 endif; … … 317 317 if ( !empty( $usersearch ) ) 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(); ?> 323 323 -
src/wp-admin/options-discussion.php
51 51 ?> 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"> 57 57 <?php settings_fields('discussion'); ?> -
src/wp-admin/options-general.php
109 109 ?> 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"> 115 115 <?php settings_fields('general'); ?> -
src/wp-admin/options-media.php
40 40 ?> 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"> 46 46 <?php settings_fields('media'); ?> -
src/wp-admin/options-permalink.php
175 175 <?php endif; ?> 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"> 181 181 <?php wp_nonce_field('update-permalink') ?> -
src/wp-admin/options-reading.php
74 74 ?> 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"> 80 80 <?php -
src/wp-admin/options-writing.php
50 50 ?> 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"> 56 56 <?php settings_fields('writing'); ?> -
src/wp-admin/options.php
226 226 include( ABSPATH . 'wp-admin/admin-header.php' ); ?> 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') ?> 232 232 <input type="hidden" name="action" value="update" /> -
src/wp-admin/plugin-editor.php
28 28 include( ABSPATH . 'wp-admin/admin-header.php' ); 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> 34 34 <?php … … 174 174 </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"> 180 180 <div class="alignleft"> -
src/wp-admin/plugin-install.php
94 94 include(ABSPATH . 'wp-admin/admin-header.php'); 95 95 ?> 96 96 <div class="wrap"> 97 <h 2>97 <h1> 98 98 <?php 99 99 echo esc_html( $title ); 100 100 if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_plugins' ) ) { … … 108 108 echo ' <a href="' . $href . '" class="upload add-new-h2">' . $text . '</a>'; 109 109 } 110 110 ?> 111 </h 2>111 </h1> 112 112 113 113 <?php 114 114 if ( $tab !== 'upload' ) { -
src/wp-admin/plugins.php
122 122 require_once(ABSPATH . 'wp-admin/admin-header.php'); 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) )); 128 128 $url = wp_nonce_url($url, 'bulk-update-plugins'); … … 288 288 $plugins_to_delete = count( $plugin_info ); 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> 294 294 <?php endif; ?> 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> 300 300 <?php endif; ?> … … 446 446 <?php endif; ?> 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> 452 452 <?php } 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 458 458 /** -
src/wp-admin/revision.php
74 74 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' ); 80 80 … … 126 126 ?> 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> 132 132 <?php -
src/wp-admin/theme-editor.php
131 131 $description .= ' <span>(' . $file_show . ')</span>'; 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"> 137 137 <div class="alignleft"> -
src/wp-admin/theme-install.php
102 102 103 103 ?> 104 104 <div class="wrap"> 105 <h 2><?php105 <h1><?php 106 106 echo esc_html( $title ); 107 107 108 108 /** … … 120 120 echo ' <a href="#" class="upload add-new-h2">' . __( 'Upload Theme' ) . '</a>'; 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"> 126 126 <?php install_themes_upload(); ?> -
src/wp-admin/themes.php
124 124 ?> 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'] ) ) : ?> 135 135 <div id="message1" class="updated notice is-dismissible"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div> -
src/wp-admin/tools.php
33 33 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') ) : ?> 39 39 <div class="card pressthis"> -
src/wp-admin/update-core.php
415 415 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 421 421 if ( false === ( $credentials = request_filesystem_credentials( $url, '', false, ABSPATH, array( 'version', 'locale' ), $allow_relaxed_file_ownership ) ) ) { … … 542 542 require_once(ABSPATH . 'wp-admin/admin-header.php'); 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 ) { 548 548 echo '<div class="error"><p>'; … … 624 624 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>' . esc_html__('Update Plugins') . '</h1>'; 628 628 echo '<iframe src="', $url, '" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0"></iframe>'; 629 629 echo '</div>'; 630 630 include(ABSPATH . 'wp-admin/admin-footer.php'); … … 653 653 require_once(ABSPATH . 'wp-admin/admin-header.php'); 654 654 ?> 655 655 <div class="wrap"> 656 <h 2><?php echo esc_html__('Update Themes') ?></h2>656 <h1><?php echo esc_html__('Update Themes') ?></h1> 657 657 <iframe src="<?php echo $url ?>" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0"></iframe> 658 658 </div> 659 659 <?php -
src/wp-admin/upload.php
71 71 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 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 ); 77 77 if ( current_user_can( 'upload_files' ) ) { ?> … … 78 78 <a href="media-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'file' ); ?></a><?php 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> 84 84 </div> … … 206 206 ?> 207 207 208 208 <div class="wrap"> 209 <h 2>209 <h1> 210 210 <?php 211 211 echo esc_html( $title ); 212 212 if ( current_user_can( 'upload_files' ) ) { ?> … … 214 214 } 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 220 220 $message = ''; -
src/wp-admin/user-edit.php
202 202 <?php endif; ?> 203 203 204 204 <div class="wrap" id="profile-page"> 205 <h 2>205 <h1> 206 206 <?php 207 207 echo esc_html( $title ); 208 208 if ( ! IS_PROFILE_PAGE ) { … … 212 212 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> 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 /** 218 218 * Fires inside the your-profile form tag on the user editing screen. -
src/wp-admin/user-new.php
237 237 } 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' ); 243 243 } elseif ( current_user_can( 'promote_users' ) ) { 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 ) ) : ?> 249 249 <div class="error"> -
src/wp-admin/users.php
214 214 <?php echo $referer; ?> 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"> 220 220 <p><strong><?php _e( 'ERROR:' ); ?></strong> <?php _e( 'Please select an option.' ); ?></p> … … 336 336 <?php echo $referer; ?> 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> 342 342 <?php … … 443 443 } ?> 444 444 445 445 <div class="wrap"> 446 <h 2>446 <h1> 447 447 <?php 448 448 echo esc_html( $title ); 449 449 if ( current_user_can( 'create_users' ) ) { ?> … … 454 454 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(); ?> 460 460 -
src/wp-admin/widgets.php
235 235 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> 241 241 … … 315 315 require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> 316 316 317 317 <div class="wrap"> 318 <h 2>318 <h1> 319 319 <?php 320 320 echo esc_html( $title ); 321 321 if ( current_user_can( 'customize' ) ) { … … 332 332 ); 333 333 } 334 334 ?> 335 </h 2>335 </h1> 336 336 337 337 <?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?> 338 338 <div id="message" class="updated notice is-dismissible"><p><?php echo $messages[$_GET['message']]; ?></p></div>