-
diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php
index c2d57f0..d4d37ee 100644
|
a
|
b
|
case 'spam' : |
| 115 | 115 | |
| 116 | 116 | <div class="narrow"> |
| 117 | 117 | |
| 118 | | <?php screen_icon(); ?> |
| 119 | 118 | <h2><?php echo esc_html( $title ); ?></h2> |
| 120 | 119 | |
| 121 | 120 | <?php |
-
diff --git a/src/wp-admin/custom-background.php b/src/wp-admin/custom-background.php
index 9765608..6b1bfe6 100644
|
a
|
b
|
class Custom_Background { |
| 179 | 179 | function admin_page() { |
| 180 | 180 | ?> |
| 181 | 181 | <div class="wrap" id="custom-background"> |
| 182 | | <?php screen_icon(); ?> |
| 183 | 182 | <h2><?php _e('Custom Background'); ?></h2> |
| 184 | 183 | <?php if ( !empty($this->updated) ) { ?> |
| 185 | 184 | <div id="message" class="updated"> |
-
diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php
index 7b1a4b3..7f222f7 100644
|
a
|
b
|
class Custom_Image_Header { |
| 450 | 450 | ?> |
| 451 | 451 | |
| 452 | 452 | <div class="wrap"> |
| 453 | | <?php screen_icon(); ?> |
| 454 | 453 | <h2><?php _e('Custom Header'); ?></h2> |
| 455 | 454 | |
| 456 | 455 | <?php if ( ! empty( $this->updated ) ) { ?> |
| … |
… |
wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> |
| 724 | 723 | ?> |
| 725 | 724 | |
| 726 | 725 | <div class="wrap"> |
| 727 | | <?php screen_icon(); ?> |
| 728 | 726 | <h2><?php _e( 'Crop Header Image' ); ?></h2> |
| 729 | 727 | |
| 730 | 728 | <form method="post" action="<?php echo esc_url(add_query_arg('step', 3)); ?>"> |
-
diff --git a/src/wp-admin/edit-comments.php b/src/wp-admin/edit-comments.php
index f084ab5..b12264a 100644
|
a
|
b
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 140 | 140 | ?> |
| 141 | 141 | |
| 142 | 142 | <div class="wrap"> |
| 143 | | <?php screen_icon(); ?> |
| 144 | 143 | <h2><?php |
| 145 | 144 | if ( $post_id ) |
| 146 | 145 | echo sprintf( __( 'Comments on “%s”' ), |
-
diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php
index 219cece..7970b8c 100644
|
a
|
b
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 359 | 359 | ?> |
| 360 | 360 | |
| 361 | 361 | <div class="wrap"> |
| 362 | | <?php screen_icon(); ?> |
| 363 | 362 | <h2><?php |
| 364 | 363 | echo esc_html( $title ); |
| 365 | 364 | if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) ) |
-
diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php
index 6537169..55f8df6 100644
|
a
|
b
|
if ( !defined('ABSPATH') ) |
| 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 | | <?php screen_icon(); ?> |
| 17 | 16 | <h2><?php _e('Edit Comment'); ?></h2> |
| 18 | 17 | |
| 19 | 18 | <div id="poststuff"> |
-
diff --git a/src/wp-admin/edit-link-form.php b/src/wp-admin/edit-link-form.php
index a44944b..d4a38ca 100644
|
a
|
b
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 70 | 70 | ?> |
| 71 | 71 | |
| 72 | 72 | <div class="wrap"> |
| 73 | | <?php screen_icon(); ?> |
| 74 | 73 | <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a></h2> |
| 75 | 74 | |
| 76 | 75 | <?php if ( isset( $_GET['added'] ) ) : ?> |
-
diff --git a/src/wp-admin/edit-tag-form.php b/src/wp-admin/edit-tag-form.php
index b8f4125..d04931d 100644
|
a
|
b
|
else |
| 27 | 27 | do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> |
| 28 | 28 | |
| 29 | 29 | <div class="wrap"> |
| 30 | | <?php screen_icon(); ?> |
| 31 | 30 | <h2><?php echo $tax->labels->edit_item; ?></h2> |
| 32 | 31 | <div id="ajax-response"></div> |
| 33 | 32 | <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"<?php do_action( $taxonomy . '_term_edit_form_tag' ); ?>> |
-
diff --git a/src/wp-admin/edit-tags.php b/src/wp-admin/edit-tags.php
index 0a04637..446ffa1 100644
|
a
|
b
|
if ( isset( $_REQUEST['message'] ) && ( $msg = (int) $_REQUEST['message'] ) ) { |
| 294 | 294 | ?> |
| 295 | 295 | |
| 296 | 296 | <div class="wrap nosubsub"> |
| 297 | | <?php screen_icon(); ?> |
| 298 | 297 | <h2><?php echo esc_html( $title ); |
| 299 | 298 | if ( !empty($_REQUEST['s']) ) |
| 300 | 299 | printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?> |
-
diff --git a/src/wp-admin/edit.php b/src/wp-admin/edit.php
index 8d32036..e98da90 100644
|
a
|
b
|
$bulk_counts = array_filter( $bulk_counts ); |
| 265 | 265 | require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 266 | 266 | ?> |
| 267 | 267 | <div class="wrap"> |
| 268 | | <?php screen_icon(); ?> |
| 269 | 268 | <h2><?php |
| 270 | 269 | echo esc_html( $post_type_object->labels->name ); |
| 271 | 270 | if ( current_user_can( $post_type_object->cap->create_posts ) ) |
-
diff --git a/src/wp-admin/export.php b/src/wp-admin/export.php
index 4f67c08..e0811c3 100644
|
a
|
b
|
function export_date_options( $post_type = 'post' ) { |
| 144 | 144 | ?> |
| 145 | 145 | |
| 146 | 146 | <div class="wrap"> |
| 147 | | <?php screen_icon(); ?> |
| 148 | 147 | <h2><?php echo esc_html( $title ); ?></h2> |
| 149 | 148 | |
| 150 | 149 | <p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p> |
-
diff --git a/src/wp-admin/import.php b/src/wp-admin/import.php
index 076f0d1..e85bf70 100644
|
a
|
b
|
$parent_file = 'tools.php'; |
| 52 | 52 | ?> |
| 53 | 53 | |
| 54 | 54 | <div class="wrap"> |
| 55 | | <?php screen_icon(); ?> |
| 56 | 55 | <h2><?php echo esc_html( $title ); ?></h2> |
| 57 | 56 | <?php if ( ! empty( $_GET['invalid'] ) ) : ?> |
| 58 | 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> |
-
diff --git a/src/wp-admin/includes/class-wp-upgrader-skins.php b/src/wp-admin/includes/class-wp-upgrader-skins.php
index 31c5dbb..71a1293 100644
|
a
|
b
|
class WP_Upgrader_Skin { |
| 51 | 51 | return; |
| 52 | 52 | $this->done_header = true; |
| 53 | 53 | echo '<div class="wrap">'; |
| 54 | | screen_icon(); |
| 55 | 54 | echo '<h2>' . $this->options['title'] . '</h2>'; |
| 56 | 55 | } |
| 57 | 56 | function footer() { |
-
diff --git a/src/wp-admin/index.php b/src/wp-admin/index.php
index 87cfd70..88b1587 100644
|
a
|
b
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
| 93 | 93 | ?> |
| 94 | 94 | |
| 95 | 95 | <div class="wrap"> |
| 96 | | <?php screen_icon(); ?> |
| 97 | 96 | <h2><?php echo esc_html( $title ); ?></h2> |
| 98 | 97 | |
| 99 | 98 | <?php if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) : |
-
diff --git a/src/wp-admin/link-manager.php b/src/wp-admin/link-manager.php
index cbcf689..9dde73c 100644
|
a
|
b
|
if ( ! current_user_can('manage_links') ) |
| 69 | 69 | ?> |
| 70 | 70 | |
| 71 | 71 | <div class="wrap nosubsub"> |
| 72 | | <?php screen_icon(); ?> |
| 73 | 72 | <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php |
| 74 | 73 | if ( !empty($_REQUEST['s']) ) |
| 75 | 74 | printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?> |
-
diff --git a/src/wp-admin/media-new.php b/src/wp-admin/media-new.php
index d8f8b63..75f49f1 100644
|
a
|
b
|
if ( get_user_setting('uploader') || isset( $_GET['browser-uploader'] ) ) |
| 65 | 65 | $form_class .= ' html-uploader'; |
| 66 | 66 | ?> |
| 67 | 67 | <div class="wrap"> |
| 68 | | <?php screen_icon(); ?> |
| 69 | 68 | <h2><?php echo esc_html( $title ); ?></h2> |
| 70 | 69 | |
| 71 | 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"> |
-
diff --git a/src/wp-admin/media.php b/src/wp-admin/media.php
index c9f0348..1462f7d 100644
|
a
|
b
|
case 'edit' : |
| 103 | 103 | ?> |
| 104 | 104 | |
| 105 | 105 | <div class="wrap"> |
| 106 | | <?php screen_icon(); ?> |
| 107 | 106 | <h2> |
| 108 | 107 | <?php |
| 109 | 108 | echo esc_html( $title ); |
-
diff --git a/src/wp-admin/ms-delete-site.php b/src/wp-admin/ms-delete-site.php
index b9112c0..c94089d 100644
|
a
|
b
|
$parent_file = 'tools.php'; |
| 32 | 32 | require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 33 | 33 | |
| 34 | 34 | echo '<div class="wrap">'; |
| 35 | | screen_icon(); |
| 36 | 35 | echo '<h2>' . esc_html( $title ) . '</h2>'; |
| 37 | 36 | |
| 38 | 37 | if ( isset( $_POST['action'] ) && $_POST['action'] == 'deleteblog' && isset( $_POST['confirmdelete'] ) && $_POST['confirmdelete'] == '1' ) { |
-
diff --git a/src/wp-admin/my-sites.php b/src/wp-admin/my-sites.php
index 6107358..2f237c6 100644
|
a
|
b
|
if ( $updated ) { ?> |
| 56 | 56 | <?php } ?> |
| 57 | 57 | |
| 58 | 58 | <div class="wrap"> |
| 59 | | <?php screen_icon(); ?> |
| 60 | 59 | <h2><?php echo esc_html( $title ); ?></h2> |
| 61 | 60 | <?php |
| 62 | 61 | if ( empty( $blogs ) ) : |
-
diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php
index a535131..a9d2ecc 100644
|
a
|
b
|
get_current_screen()->set_help_sidebar( |
| 533 | 533 | require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 534 | 534 | ?> |
| 535 | 535 | <div class="wrap"> |
| 536 | | <?php screen_icon(); ?> |
| 537 | 536 | <h2 class="nav-tab-wrapper"> |
| 538 | 537 | <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> |
| 539 | 538 | <?php if ( $num_locations && $menu_count ) : ?> |
-
diff --git a/src/wp-admin/network.php b/src/wp-admin/network.php
index 097489d..516cf58 100644
|
a
|
b
|
get_current_screen()->set_help_sidebar( |
| 136 | 136 | include( ABSPATH . 'wp-admin/admin-header.php' ); |
| 137 | 137 | ?> |
| 138 | 138 | <div class="wrap"> |
| 139 | | <?php screen_icon('tools'); ?> |
| 140 | 139 | <h2><?php echo esc_html( $title ); ?></h2> |
| 141 | 140 | |
| 142 | 141 | <?php |
-
diff --git a/src/wp-admin/network/index.php b/src/wp-admin/network/index.php
index 5514331..366a9bb 100644
|
a
|
b
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 67 | 67 | ?> |
| 68 | 68 | |
| 69 | 69 | <div class="wrap"> |
| 70 | | <?php screen_icon(); ?> |
| 71 | 70 | <h2><?php echo esc_html( $title ); ?></h2> |
| 72 | 71 | |
| 73 | 72 | <div id="dashboard-widgets-wrap"> |
-
diff --git a/src/wp-admin/network/settings.php b/src/wp-admin/network/settings.php
index fd0d41f..0538aee 100644
|
a
|
b
|
if ( isset( $_GET['updated'] ) ) { |
| 84 | 84 | ?> |
| 85 | 85 | |
| 86 | 86 | <div class="wrap"> |
| 87 | | <?php screen_icon('options-general'); ?> |
| 88 | 87 | <h2><?php echo esc_html( $title ); ?></h2> |
| 89 | 88 | <form method="post" action="settings.php"> |
| 90 | 89 | <?php wp_nonce_field( 'siteoptions' ); ?> |
-
diff --git a/src/wp-admin/network/site-info.php b/src/wp-admin/network/site-info.php
index 6a952b6..6607b8f 100644
|
a
|
b
|
require( ABSPATH . 'wp-admin/admin-header.php' ); |
| 96 | 96 | ?> |
| 97 | 97 | |
| 98 | 98 | <div class="wrap"> |
| 99 | | <?php screen_icon('ms-admin'); ?> |
| 100 | 99 | <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2> |
| 101 | 100 | <h3 class="nav-tab-wrapper"> |
| 102 | 101 | <?php |
-
diff --git a/src/wp-admin/network/site-new.php b/src/wp-admin/network/site-new.php
index 1a31b6a..672d7e8 100644
|
a
|
b
|
require( ABSPATH . 'wp-admin/admin-header.php' ); |
| 111 | 111 | ?> |
| 112 | 112 | |
| 113 | 113 | <div class="wrap"> |
| 114 | | <?php screen_icon('ms-admin'); ?> |
| 115 | 114 | <h2 id="add-new-site"><?php _e('Add New Site') ?></h2> |
| 116 | 115 | <?php |
| 117 | 116 | if ( ! empty( $messages ) ) { |
-
diff --git a/src/wp-admin/network/site-settings.php b/src/wp-admin/network/site-settings.php
index 76d0d2c..2a411d6 100644
|
a
|
b
|
require( ABSPATH . 'wp-admin/admin-header.php' ); |
| 87 | 87 | ?> |
| 88 | 88 | |
| 89 | 89 | <div class="wrap"> |
| 90 | | <?php screen_icon('ms-admin'); ?> |
| 91 | 90 | <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2> |
| 92 | 91 | <h3 class="nav-tab-wrapper"> |
| 93 | 92 | <?php |
-
diff --git a/src/wp-admin/network/site-themes.php b/src/wp-admin/network/site-themes.php
index ec8fc7d..646eb08 100644
|
a
|
b
|
$submenu_file = 'sites.php'; |
| 135 | 135 | require( ABSPATH . 'wp-admin/admin-header.php' ); ?> |
| 136 | 136 | |
| 137 | 137 | <div class="wrap"> |
| 138 | | <?php screen_icon('ms-admin'); ?> |
| 139 | 138 | <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2> |
| 140 | 139 | <h3 class="nav-tab-wrapper"> |
| 141 | 140 | <?php |
-
diff --git a/src/wp-admin/network/site-users.php b/src/wp-admin/network/site-users.php
index 9501112..8847606 100644
|
a
|
b
|
var current_site_id = <?php echo $id; ?>; |
| 184 | 184 | |
| 185 | 185 | |
| 186 | 186 | <div class="wrap"> |
| 187 | | <?php screen_icon('ms-admin'); ?> |
| 188 | 187 | <h2 id="edit-site"><?php echo $title_site_url_linked ?></h2> |
| 189 | 188 | <h3 class="nav-tab-wrapper"> |
| 190 | 189 | <?php |
-
diff --git a/src/wp-admin/network/sites.php b/src/wp-admin/network/sites.php
index 37f6440..ce04618 100644
|
a
|
b
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 230 | 230 | ?> |
| 231 | 231 | |
| 232 | 232 | <div class="wrap"> |
| 233 | | <?php screen_icon( 'ms-admin' ); ?> |
| 234 | 233 | <h2><?php _e( 'Sites' ) ?> |
| 235 | 234 | |
| 236 | 235 | <?php if ( current_user_can( 'create_sites') ) : ?> |
-
diff --git a/src/wp-admin/network/themes.php b/src/wp-admin/network/themes.php
index 264f90e..135c1e4 100644
|
a
|
b
|
if ( $action ) { |
| 90 | 90 | require_once(ABSPATH . 'wp-admin/admin-header.php'); |
| 91 | 91 | |
| 92 | 92 | echo '<div class="wrap">'; |
| 93 | | screen_icon(); |
| 94 | 93 | echo '<h2>' . esc_html( $title ) . '</h2>'; |
| 95 | 94 | |
| 96 | 95 | $url = self_admin_url('update.php?action=update-selected-themes&themes=' . urlencode( join(',', $themes) )); |
| … |
… |
if ( $action ) { |
| 137 | 136 | <div class="wrap"> |
| 138 | 137 | <?php |
| 139 | 138 | $themes_to_delete = count( $themes ); |
| 140 | | screen_icon(); |
| 141 | 139 | echo '<h2>' . _n( 'Delete Theme', 'Delete Themes', $themes_to_delete ) . '</h2>'; |
| 142 | 140 | ?> |
| 143 | 141 | <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo _n( 'This theme may be active on other sites in the network.', 'These themes may be active on other sites in the network.', $themes_to_delete ); ?></p></div> |
| … |
… |
require_once(ABSPATH . 'wp-admin/admin-header.php'); |
| 227 | 225 | ?> |
| 228 | 226 | |
| 229 | 227 | <div class="wrap"> |
| 230 | | <?php screen_icon('themes'); ?> |
| 231 | 228 | <h2><?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 } |
| 232 | 229 | if ( $s ) |
| 233 | 230 | printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> |
-
diff --git a/src/wp-admin/network/upgrade.php b/src/wp-admin/network/upgrade.php
index 96137b3..8fdcf37 100644
|
a
|
b
|
if ( ! current_user_can( 'manage_network' ) ) |
| 39 | 39 | wp_die( __( 'You do not have permission to access this page.' ) ); |
| 40 | 40 | |
| 41 | 41 | echo '<div class="wrap">'; |
| 42 | | screen_icon('tools'); |
| 43 | 42 | echo '<h2>' . __( 'Upgrade Network' ) . '</h2>'; |
| 44 | 43 | |
| 45 | 44 | $action = isset($_GET['action']) ? $_GET['action'] : 'show'; |
-
diff --git a/src/wp-admin/network/user-new.php b/src/wp-admin/network/user-new.php
index 0f3ad1f..04ef34a 100644
|
a
|
b
|
$parent_file = 'users.php'; |
| 69 | 69 | require( ABSPATH . 'wp-admin/admin-header.php' ); ?> |
| 70 | 70 | |
| 71 | 71 | <div class="wrap"> |
| 72 | | <?php screen_icon(); ?> |
| 73 | 72 | <h2 id="add-new-user"><?php _e('Add New User') ?></h2> |
| 74 | 73 | <?php |
| 75 | 74 | if ( ! empty( $messages ) ) { |
-
diff --git a/src/wp-admin/network/users.php b/src/wp-admin/network/users.php
index 9db1561..40251e2 100644
|
a
|
b
|
function confirm_delete_users( $users ) { |
| 20 | 20 | $current_user = wp_get_current_user(); |
| 21 | 21 | if ( !is_array( $users ) ) |
| 22 | 22 | return false; |
| 23 | | |
| 24 | | screen_icon(); |
| 25 | 23 | ?> |
| 26 | 24 | <h2><?php esc_html_e( 'Users' ); ?></h2> |
| 27 | 25 | <p><?php _e( 'Transfer or delete posts before deleting users.' ); ?></p> |
| … |
… |
if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty( |
| 275 | 273 | } |
| 276 | 274 | ?> |
| 277 | 275 | <div class="wrap"> |
| 278 | | <?php screen_icon(); ?> |
| 279 | 276 | <h2><?php esc_html_e( 'Users' ); |
| 280 | 277 | if ( current_user_can( 'create_users') ) : ?> |
| 281 | 278 | <a href="<?php echo network_admin_url('user-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php |
-
diff --git a/src/wp-admin/options-discussion.php b/src/wp-admin/options-discussion.php
index 76f6b32..0c37646 100644
|
a
|
b
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
| 31 | 31 | ?> |
| 32 | 32 | |
| 33 | 33 | <div class="wrap"> |
| 34 | | <?php screen_icon(); ?> |
| 35 | 34 | <h2><?php echo esc_html( $title ); ?></h2> |
| 36 | 35 | |
| 37 | 36 | <form method="post" action="options.php"> |
-
diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php
index 5f2bf21..6535332 100644
|
a
|
b
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
| 84 | 84 | ?> |
| 85 | 85 | |
| 86 | 86 | <div class="wrap"> |
| 87 | | <?php screen_icon(); ?> |
| 88 | 87 | <h2><?php echo esc_html( $title ); ?></h2> |
| 89 | 88 | |
| 90 | 89 | <form method="post" action="options.php"> |
-
diff --git a/src/wp-admin/options-media.php b/src/wp-admin/options-media.php
index 4eccbf6..e0c06ca 100644
|
a
|
b
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
| 40 | 40 | ?> |
| 41 | 41 | |
| 42 | 42 | <div class="wrap"> |
| 43 | | <?php screen_icon(); ?> |
| 44 | 43 | <h2><?php echo esc_html( $title ); ?></h2> |
| 45 | 44 | |
| 46 | 45 | <form action="options.php" method="post"> |
-
diff --git a/src/wp-admin/options-permalink.php b/src/wp-admin/options-permalink.php
index 738a0c3..63ddc55 100644
|
a
|
b
|
if ( ! is_multisite() ) { |
| 170 | 170 | <?php endif; ?> |
| 171 | 171 | |
| 172 | 172 | <div class="wrap"> |
| 173 | | <?php screen_icon(); ?> |
| 174 | 173 | <h2><?php echo esc_html( $title ); ?></h2> |
| 175 | 174 | |
| 176 | 175 | <form name="form" action="options-permalink.php" method="post"> |
-
diff --git a/src/wp-admin/options-reading.php b/src/wp-admin/options-reading.php
index e928b2e..72dfc8f 100644
|
a
|
b
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
| 76 | 76 | ?> |
| 77 | 77 | |
| 78 | 78 | <div class="wrap"> |
| 79 | | <?php screen_icon(); ?> |
| 80 | 79 | <h2><?php echo esc_html( $title ); ?></h2> |
| 81 | 80 | |
| 82 | 81 | <form method="post" action="options.php"> |
-
diff --git a/src/wp-admin/options-writing.php b/src/wp-admin/options-writing.php
index b3f9f68..d6ba5d3 100644
|
a
|
b
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
| 62 | 62 | ?> |
| 63 | 63 | |
| 64 | 64 | <div class="wrap"> |
| 65 | | <?php screen_icon(); ?> |
| 66 | 65 | <h2><?php echo esc_html( $title ); ?></h2> |
| 67 | 66 | |
| 68 | 67 | <form method="post" action="options.php"> |
-
diff --git a/src/wp-admin/options.php b/src/wp-admin/options.php
index 00fb3c0..8b84811 100644
|
a
|
b
|
if ( 'update' == $action ) { |
| 200 | 200 | include( ABSPATH . 'wp-admin/admin-header.php' ); ?> |
| 201 | 201 | |
| 202 | 202 | <div class="wrap"> |
| 203 | | <?php screen_icon(); ?> |
| 204 | 203 | <h2><?php esc_html_e('All Settings'); ?></h2> |
| 205 | 204 | <form name="form" action="options.php" method="post" id="all-options"> |
| 206 | 205 | <?php wp_nonce_field('options-options') ?> |
-
diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php
index 94925b4..ff962b8 100644
|
a
|
b
|
default: |
| 167 | 167 | </div> |
| 168 | 168 | <?php endif; ?> |
| 169 | 169 | <div class="wrap"> |
| 170 | | <?php screen_icon(); ?> |
| 171 | 170 | <h2><?php echo esc_html( $title ); ?></h2> |
| 172 | 171 | |
| 173 | 172 | <div class="fileedit-sub"> |
-
diff --git a/src/wp-admin/plugin-install.php b/src/wp-admin/plugin-install.php
index 2e89a0e..8d0dde3 100644
|
a
|
b
|
get_current_screen()->set_help_sidebar( |
| 73 | 73 | include(ABSPATH . 'wp-admin/admin-header.php'); |
| 74 | 74 | ?> |
| 75 | 75 | <div class="wrap"> |
| 76 | | <?php screen_icon( 'plugins' ); ?> |
| 77 | 76 | <h2><?php echo esc_html( $title ); ?></h2> |
| 78 | 77 | |
| 79 | 78 | <?php $wp_list_table->views(); ?> |
-
diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php
index 4c37813..338ed7c 100644
|
a
|
b
|
if ( $action ) { |
| 116 | 116 | require_once(ABSPATH . 'wp-admin/admin-header.php'); |
| 117 | 117 | |
| 118 | 118 | echo '<div class="wrap">'; |
| 119 | | screen_icon(); |
| 120 | 119 | echo '<h2>' . esc_html( $title ) . '</h2>'; |
| 121 | 120 | |
| 122 | 121 | $url = self_admin_url('update.php?action=update-selected&plugins=' . urlencode( join(',', $plugins) )); |
| … |
… |
if ( $action ) { |
| 258 | 257 | } |
| 259 | 258 | } |
| 260 | 259 | } |
| 261 | | screen_icon(); |
| 262 | 260 | $plugins_to_delete = count( $plugin_info ); |
| 263 | 261 | echo '<h2>' . _n( 'Delete Plugin', 'Delete Plugins', $plugins_to_delete ) . '</h2>'; |
| 264 | 262 | ?> |
| … |
… |
if ( !empty($invalid) ) |
| 407 | 405 | <?php endif; ?> |
| 408 | 406 | |
| 409 | 407 | <div class="wrap"> |
| 410 | | <?php screen_icon(); ?> |
| 411 | 408 | <h2><?php echo esc_html( $title ); |
| 412 | 409 | if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> |
| 413 | 410 | <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a> |
-
diff --git a/src/wp-admin/revision.php b/src/wp-admin/revision.php
index 7d1ce81..818d13c 100644
|
a
|
b
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 124 | 124 | ?> |
| 125 | 125 | |
| 126 | 126 | <div class="wrap"> |
| 127 | | <?php screen_icon(); ?> |
| 128 | 127 | <h2 class="long-header"><?php echo $h2; ?></h2> |
| 129 | 128 | </div> |
| 130 | 129 | |
-
diff --git a/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php
index 7d1c618..8d1775d 100644
|
a
|
b
|
if ( $description != $file_show ) |
| 133 | 133 | $description .= ' <span>(' . $file_show . ')</span>'; |
| 134 | 134 | ?> |
| 135 | 135 | <div class="wrap"> |
| 136 | | <?php screen_icon(); ?> |
| 137 | 136 | <h2><?php echo esc_html( $title ); ?></h2> |
| 138 | 137 | |
| 139 | 138 | <div class="fileedit-sub"> |
-
diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php
index 07f42d7..d6b37a4 100644
|
a
|
b
|
include(ABSPATH . 'wp-admin/admin-header.php'); |
| 67 | 67 | ?> |
| 68 | 68 | <div class="wrap"> |
| 69 | 69 | <?php |
| 70 | | screen_icon(); |
| 71 | | |
| 72 | 70 | if ( is_network_admin() ) : ?> |
| 73 | 71 | <h2><?php echo esc_html( $title ); ?></h2> |
| 74 | 72 | <?php else : ?> |
-
diff --git a/src/wp-admin/tools.php b/src/wp-admin/tools.php
index 0c7e040..b55328a 100644
|
a
|
b
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 33 | 33 | |
| 34 | 34 | ?> |
| 35 | 35 | <div class="wrap"> |
| 36 | | <?php screen_icon(); ?> |
| 37 | 36 | <h2><?php echo esc_html( $title ); ?></h2> |
| 38 | 37 | |
| 39 | 38 | <?php if ( current_user_can('edit_posts') ) : ?> |
-
diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php
index ece0666..9663f29 100644
|
a
|
b
|
function do_core_upgrade( $reinstall = false ) { |
| 376 | 376 | |
| 377 | 377 | ?> |
| 378 | 378 | <div class="wrap"> |
| 379 | | <?php screen_icon('tools'); ?> |
| 380 | 379 | <h2><?php _e('Update WordPress'); ?></h2> |
| 381 | 380 | <?php |
| 382 | 381 | |
| … |
… |
if ( 'upgrade-core' == $action ) { |
| 490 | 489 | require_once(ABSPATH . 'wp-admin/admin-header.php'); |
| 491 | 490 | ?> |
| 492 | 491 | <div class="wrap"> |
| 493 | | <?php screen_icon('tools'); ?> |
| 494 | 492 | <h2><?php _e('WordPress Updates'); ?></h2> |
| 495 | 493 | <?php |
| 496 | 494 | if ( $upgrade_error ) { |
| … |
… |
if ( 'upgrade-core' == $action ) { |
| 569 | 567 | |
| 570 | 568 | require_once(ABSPATH . 'wp-admin/admin-header.php'); |
| 571 | 569 | echo '<div class="wrap">'; |
| 572 | | screen_icon('plugins'); |
| 573 | 570 | echo '<h2>' . esc_html__('Update Plugins') . '</h2>'; |
| 574 | 571 | echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>"; |
| 575 | 572 | echo '</div>'; |
| … |
… |
if ( 'upgrade-core' == $action ) { |
| 598 | 595 | |
| 599 | 596 | require_once(ABSPATH . 'wp-admin/admin-header.php'); |
| 600 | 597 | echo '<div class="wrap">'; |
| 601 | | screen_icon('themes'); |
| 602 | 598 | echo '<h2>' . esc_html__('Update Themes') . '</h2>'; |
| 603 | 599 | echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>"; |
| 604 | 600 | echo '</div>'; |
-
diff --git a/src/wp-admin/upload.php b/src/wp-admin/upload.php
index 64d0f84..df99809 100644
|
a
|
b
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
| 177 | 177 | ?> |
| 178 | 178 | |
| 179 | 179 | <div class="wrap"> |
| 180 | | <?php screen_icon(); ?> |
| 181 | 180 | <h2> |
| 182 | 181 | <?php |
| 183 | 182 | echo esc_html( $title ); |
-
diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php
index 53d16d7..ff2ede3 100644
|
a
|
b
|
include (ABSPATH . 'wp-admin/admin-header.php'); |
| 176 | 176 | <?php endif; ?> |
| 177 | 177 | |
| 178 | 178 | <div class="wrap" id="profile-page"> |
| 179 | | <?php screen_icon(); ?> |
| 180 | 179 | <h2> |
| 181 | 180 | <?php |
| 182 | 181 | echo esc_html( $title ); |
-
diff --git a/src/wp-admin/user-new.php b/src/wp-admin/user-new.php
index 60d63b2..eb60cd9 100644
|
a
|
b
|
if ( isset($_GET['update']) ) { |
| 233 | 233 | } |
| 234 | 234 | ?> |
| 235 | 235 | <div class="wrap"> |
| 236 | | <?php screen_icon(); ?> |
| 237 | 236 | <h2 id="add-new-user"> <?php |
| 238 | 237 | if ( current_user_can( 'create_users' ) ) { |
| 239 | 238 | echo _x( 'Add New User', 'user' ); |
-
diff --git a/src/wp-admin/users.php b/src/wp-admin/users.php
index 1f4fc5e..2a28f74 100644
|
a
|
b
|
case 'delete': |
| 218 | 218 | <?php echo $referer; ?> |
| 219 | 219 | |
| 220 | 220 | <div class="wrap"> |
| 221 | | <?php screen_icon(); ?> |
| 222 | 221 | <h2><?php _e('Delete Users'); ?></h2> |
| 223 | 222 | <?php if ( isset( $_REQUEST['error'] ) ) : ?> |
| 224 | 223 | <div class="error"> |
| … |
… |
case 'remove': |
| 323 | 322 | <?php echo $referer; ?> |
| 324 | 323 | |
| 325 | 324 | <div class="wrap"> |
| 326 | | <?php screen_icon(); ?> |
| 327 | 325 | <h2><?php _e('Remove Users from Site'); ?></h2> |
| 328 | 326 | <p><?php _e('You have specified these users for removal:'); ?></p> |
| 329 | 327 | <ul> |
| … |
… |
if ( ! empty($messages) ) { |
| 425 | 423 | } ?> |
| 426 | 424 | |
| 427 | 425 | <div class="wrap"> |
| 428 | | <?php screen_icon(); ?> |
| 429 | 426 | <h2> |
| 430 | 427 | <?php |
| 431 | 428 | echo esc_html( $title ); |
-
diff --git a/src/wp-admin/widgets.php b/src/wp-admin/widgets.php
index 93c92c7..20ca2e0 100644
|
a
|
b
|
if ( isset($_GET['editwidget']) && $_GET['editwidget'] ) { |
| 229 | 229 | |
| 230 | 230 | require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> |
| 231 | 231 | <div class="wrap"> |
| 232 | | <?php screen_icon(); ?> |
| 233 | 232 | <h2><?php echo esc_html( $title ); ?></h2> |
| 234 | 233 | <div class="editwidget"<?php echo $width; ?>> |
| 235 | 234 | <h3><?php printf( __( 'Widget %s' ), $name ); ?></h3> |
| … |
… |
$errors = array( |
| 310 | 309 | require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> |
| 311 | 310 | |
| 312 | 311 | <div class="wrap"> |
| 313 | | <?php screen_icon(); ?> |
| 314 | 312 | <h2><?php echo esc_html( $title ); ?></h2> |
| 315 | 313 | |
| 316 | 314 | <?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?> |