Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
git-svn-id: https://develop.svn.wordpress.org/trunk@26518 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0ef7e951d6
commit
b33d0da84c
@ -115,7 +115,6 @@ case 'spam' :
|
|||||||
|
|
||||||
<div class="narrow">
|
<div class="narrow">
|
||||||
|
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -179,7 +179,6 @@ class Custom_Background {
|
|||||||
function admin_page() {
|
function admin_page() {
|
||||||
?>
|
?>
|
||||||
<div class="wrap" id="custom-background">
|
<div class="wrap" id="custom-background">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php _e('Custom Background'); ?></h2>
|
<h2><?php _e('Custom Background'); ?></h2>
|
||||||
<?php if ( !empty($this->updated) ) { ?>
|
<?php if ( !empty($this->updated) ) { ?>
|
||||||
<div id="message" class="updated">
|
<div id="message" class="updated">
|
||||||
|
@ -450,7 +450,6 @@ class Custom_Image_Header {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php _e('Custom Header'); ?></h2>
|
<h2><?php _e('Custom Header'); ?></h2>
|
||||||
|
|
||||||
<?php if ( ! empty( $this->updated ) ) { ?>
|
<?php if ( ! empty( $this->updated ) ) { ?>
|
||||||
@ -724,7 +723,6 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php _e( 'Crop Header Image' ); ?></h2>
|
<h2><?php _e( 'Crop Header Image' ); ?></h2>
|
||||||
|
|
||||||
<form method="post" action="<?php echo esc_url(add_query_arg('step', 3)); ?>">
|
<form method="post" action="<?php echo esc_url(add_query_arg('step', 3)); ?>">
|
||||||
|
@ -140,7 +140,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php
|
<h2><?php
|
||||||
if ( $post_id )
|
if ( $post_id )
|
||||||
echo sprintf( __( 'Comments on “%s”' ),
|
echo sprintf( __( 'Comments on “%s”' ),
|
||||||
|
@ -359,7 +359,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php
|
<h2><?php
|
||||||
echo esc_html( $title );
|
echo esc_html( $title );
|
||||||
if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) )
|
if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) )
|
||||||
|
@ -13,7 +13,6 @@ if ( !defined('ABSPATH') )
|
|||||||
<form name="post" action="comment.php" method="post" id="post">
|
<form name="post" action="comment.php" method="post" id="post">
|
||||||
<?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?>
|
<?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php _e('Edit Comment'); ?></h2>
|
<h2><?php _e('Edit Comment'); ?></h2>
|
||||||
|
|
||||||
<div id="poststuff">
|
<div id="poststuff">
|
||||||
|
@ -70,7 +70,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<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>
|
<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>
|
||||||
|
|
||||||
<?php if ( isset( $_GET['added'] ) ) : ?>
|
<?php if ( isset( $_GET['added'] ) ) : ?>
|
||||||
|
@ -27,7 +27,6 @@ if ( 'category' == $taxonomy ) {
|
|||||||
do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
|
do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo $tax->labels->edit_item; ?></h2>
|
<h2><?php echo $tax->labels->edit_item; ?></h2>
|
||||||
<div id="ajax-response"></div>
|
<div id="ajax-response"></div>
|
||||||
<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"<?php do_action( $taxonomy . '_term_edit_form_tag' ); ?>>
|
<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"<?php do_action( $taxonomy . '_term_edit_form_tag' ); ?>>
|
||||||
|
@ -301,7 +301,6 @@ if ( isset( $_REQUEST['message'] ) && ( $msg = (int) $_REQUEST['message'] ) ) {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap nosubsub">
|
<div class="wrap nosubsub">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title );
|
<h2><?php echo esc_html( $title );
|
||||||
if ( !empty($_REQUEST['s']) )
|
if ( !empty($_REQUEST['s']) )
|
||||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>
|
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>
|
||||||
|
@ -265,7 +265,6 @@ $bulk_counts = array_filter( $bulk_counts );
|
|||||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php
|
<h2><?php
|
||||||
echo esc_html( $post_type_object->labels->name );
|
echo esc_html( $post_type_object->labels->name );
|
||||||
if ( current_user_can( $post_type_object->cap->create_posts ) )
|
if ( current_user_can( $post_type_object->cap->create_posts ) )
|
||||||
|
@ -144,7 +144,6 @@ function export_date_options( $post_type = 'post' ) {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
|
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
|
||||||
|
@ -52,7 +52,6 @@ $parent_file = 'tools.php';
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
<?php if ( ! empty( $_GET['invalid'] ) ) : ?>
|
<?php if ( ! empty( $_GET['invalid'] ) ) : ?>
|
||||||
<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>
|
<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>
|
||||||
|
@ -51,7 +51,6 @@ class WP_Upgrader_Skin {
|
|||||||
return;
|
return;
|
||||||
$this->done_header = true;
|
$this->done_header = true;
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
screen_icon();
|
|
||||||
echo '<h2>' . $this->options['title'] . '</h2>';
|
echo '<h2>' . $this->options['title'] . '</h2>';
|
||||||
}
|
}
|
||||||
function footer() {
|
function footer() {
|
||||||
|
@ -1134,3 +1134,54 @@ function wp_update_theme($theme, $feedback = '') {
|
|||||||
function the_attachment_links( $id = false ) {
|
function the_attachment_links( $id = false ) {
|
||||||
_deprecated_function( __FUNCTION__, '3.7' );
|
_deprecated_function( __FUNCTION__, '3.7' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Displays a screen icon.
|
||||||
|
*
|
||||||
|
* @uses get_screen_icon()
|
||||||
|
* @since 2.7.0
|
||||||
|
* @deprecated 3.8.0
|
||||||
|
*
|
||||||
|
* @param string|WP_Screen $screen Optional. Accepts a screen object (and defaults to the current screen object)
|
||||||
|
* which it uses to determine an icon HTML ID. Or, if a string is provided, it is used to form the icon HTML ID.
|
||||||
|
*/
|
||||||
|
function screen_icon( $screen = '' ) {
|
||||||
|
_deprecated_function( __FUNCTION__, '3.8' );
|
||||||
|
echo get_screen_icon( $screen );
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets a screen icon.
|
||||||
|
*
|
||||||
|
* @since 3.2.0
|
||||||
|
* @deprecated 3.8.0
|
||||||
|
*
|
||||||
|
* @global $post_ID
|
||||||
|
* @param string|WP_Screen $screen Optional. Accepts a screen object (and defaults to the current screen object)
|
||||||
|
* which it uses to determine an icon HTML ID. Or, if a string is provided, it is used to form the icon HTML ID.
|
||||||
|
* @return string HTML for the screen icon.
|
||||||
|
*/
|
||||||
|
function get_screen_icon( $screen = '' ) {
|
||||||
|
_deprecated_function( __FUNCTION__, '3.8' );
|
||||||
|
if ( empty( $screen ) )
|
||||||
|
$screen = get_current_screen();
|
||||||
|
elseif ( is_string( $screen ) )
|
||||||
|
$icon_id = $screen;
|
||||||
|
|
||||||
|
$class = 'icon32';
|
||||||
|
|
||||||
|
if ( empty( $icon_id ) ) {
|
||||||
|
if ( ! empty( $screen->parent_base ) )
|
||||||
|
$icon_id = $screen->parent_base;
|
||||||
|
else
|
||||||
|
$icon_id = $screen->base;
|
||||||
|
|
||||||
|
if ( 'page' == $screen->post_type )
|
||||||
|
$icon_id = 'edit-pages';
|
||||||
|
|
||||||
|
if ( $screen->post_type )
|
||||||
|
$class .= ' ' . sanitize_html_class( 'icon32-posts-' . $screen->post_type );
|
||||||
|
}
|
||||||
|
|
||||||
|
return '<div id="icon-' . esc_attr( $icon_id ) . '" class="' . $class . '"><br /></div>';
|
||||||
|
}
|
@ -124,53 +124,6 @@ function add_screen_option( $option, $args = array() ) {
|
|||||||
$current_screen->add_option( $option, $args );
|
$current_screen->add_option( $option, $args );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Displays a screen icon.
|
|
||||||
*
|
|
||||||
* @uses get_screen_icon()
|
|
||||||
* @since 2.7.0
|
|
||||||
*
|
|
||||||
* @param string|WP_Screen $screen Optional. Accepts a screen object (and defaults to the current screen object)
|
|
||||||
* which it uses to determine an icon HTML ID. Or, if a string is provided, it is used to form the icon HTML ID.
|
|
||||||
*/
|
|
||||||
function screen_icon( $screen = '' ) {
|
|
||||||
echo get_screen_icon( $screen );
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets a screen icon.
|
|
||||||
*
|
|
||||||
* @since 3.2.0
|
|
||||||
*
|
|
||||||
* @global $post_ID
|
|
||||||
* @param string|WP_Screen $screen Optional. Accepts a screen object (and defaults to the current screen object)
|
|
||||||
* which it uses to determine an icon HTML ID. Or, if a string is provided, it is used to form the icon HTML ID.
|
|
||||||
* @return string HTML for the screen icon.
|
|
||||||
*/
|
|
||||||
function get_screen_icon( $screen = '' ) {
|
|
||||||
if ( empty( $screen ) )
|
|
||||||
$screen = get_current_screen();
|
|
||||||
elseif ( is_string( $screen ) )
|
|
||||||
$icon_id = $screen;
|
|
||||||
|
|
||||||
$class = 'icon32';
|
|
||||||
|
|
||||||
if ( empty( $icon_id ) ) {
|
|
||||||
if ( ! empty( $screen->parent_base ) )
|
|
||||||
$icon_id = $screen->parent_base;
|
|
||||||
else
|
|
||||||
$icon_id = $screen->base;
|
|
||||||
|
|
||||||
if ( 'page' == $screen->post_type )
|
|
||||||
$icon_id = 'edit-pages';
|
|
||||||
|
|
||||||
if ( $screen->post_type )
|
|
||||||
$class .= ' ' . sanitize_html_class( 'icon32-posts-' . $screen->post_type );
|
|
||||||
}
|
|
||||||
|
|
||||||
return '<div id="icon-' . esc_attr( $icon_id ) . '" class="' . $class . '"><br /></div>';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the current screen object
|
* Get the current screen object
|
||||||
*
|
*
|
||||||
|
@ -93,7 +93,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<?php if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) :
|
<?php if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) :
|
||||||
|
@ -69,7 +69,6 @@ if ( ! current_user_can('manage_links') )
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap nosubsub">
|
<div class="wrap nosubsub">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<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
|
<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
|
||||||
if ( !empty($_REQUEST['s']) )
|
if ( !empty($_REQUEST['s']) )
|
||||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>
|
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( wp_unslash($_REQUEST['s']) ) ); ?>
|
||||||
|
@ -65,7 +65,6 @@ if ( get_user_setting('uploader') || isset( $_GET['browser-uploader'] ) )
|
|||||||
$form_class .= ' html-uploader';
|
$form_class .= ' html-uploader';
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<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">
|
<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">
|
||||||
|
@ -103,7 +103,6 @@ case 'edit' :
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2>
|
<h2>
|
||||||
<?php
|
<?php
|
||||||
echo esc_html( $title );
|
echo esc_html( $title );
|
||||||
|
@ -32,7 +32,6 @@ $parent_file = 'tools.php';
|
|||||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
|
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
screen_icon();
|
|
||||||
echo '<h2>' . esc_html( $title ) . '</h2>';
|
echo '<h2>' . esc_html( $title ) . '</h2>';
|
||||||
|
|
||||||
if ( isset( $_POST['action'] ) && $_POST['action'] == 'deleteblog' && isset( $_POST['confirmdelete'] ) && $_POST['confirmdelete'] == '1' ) {
|
if ( isset( $_POST['action'] ) && $_POST['action'] == 'deleteblog' && isset( $_POST['confirmdelete'] ) && $_POST['confirmdelete'] == '1' ) {
|
||||||
|
@ -56,7 +56,6 @@ if ( $updated ) { ?>
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
<?php
|
<?php
|
||||||
if ( empty( $blogs ) ) :
|
if ( empty( $blogs ) ) :
|
||||||
|
@ -533,7 +533,6 @@ get_current_screen()->set_help_sidebar(
|
|||||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2 class="nav-tab-wrapper">
|
<h2 class="nav-tab-wrapper">
|
||||||
<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>
|
<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>
|
||||||
<?php if ( $num_locations && $menu_count ) : ?>
|
<?php if ( $num_locations && $menu_count ) : ?>
|
||||||
|
@ -136,7 +136,6 @@ get_current_screen()->set_help_sidebar(
|
|||||||
include( ABSPATH . 'wp-admin/admin-header.php' );
|
include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('tools'); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -65,7 +65,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<div id="dashboard-widgets-wrap">
|
<div id="dashboard-widgets-wrap">
|
||||||
|
@ -84,7 +84,6 @@ if ( isset( $_GET['updated'] ) ) {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('options-general'); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
<form method="post" action="settings.php">
|
<form method="post" action="settings.php">
|
||||||
<?php wp_nonce_field( 'siteoptions' ); ?>
|
<?php wp_nonce_field( 'siteoptions' ); ?>
|
||||||
|
@ -96,7 +96,6 @@ require( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('ms-admin'); ?>
|
|
||||||
<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
|
<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
|
||||||
<h3 class="nav-tab-wrapper">
|
<h3 class="nav-tab-wrapper">
|
||||||
<?php
|
<?php
|
||||||
|
@ -111,7 +111,6 @@ require( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('ms-admin'); ?>
|
|
||||||
<h2 id="add-new-site"><?php _e('Add New Site') ?></h2>
|
<h2 id="add-new-site"><?php _e('Add New Site') ?></h2>
|
||||||
<?php
|
<?php
|
||||||
if ( ! empty( $messages ) ) {
|
if ( ! empty( $messages ) ) {
|
||||||
|
@ -87,7 +87,6 @@ require( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('ms-admin'); ?>
|
|
||||||
<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
|
<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
|
||||||
<h3 class="nav-tab-wrapper">
|
<h3 class="nav-tab-wrapper">
|
||||||
<?php
|
<?php
|
||||||
|
@ -135,7 +135,6 @@ $submenu_file = 'sites.php';
|
|||||||
require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('ms-admin'); ?>
|
|
||||||
<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
|
<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
|
||||||
<h3 class="nav-tab-wrapper">
|
<h3 class="nav-tab-wrapper">
|
||||||
<?php
|
<?php
|
||||||
|
@ -184,7 +184,6 @@ var current_site_id = <?php echo $id; ?>;
|
|||||||
|
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('ms-admin'); ?>
|
|
||||||
<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
|
<h2 id="edit-site"><?php echo $title_site_url_linked ?></h2>
|
||||||
<h3 class="nav-tab-wrapper">
|
<h3 class="nav-tab-wrapper">
|
||||||
<?php
|
<?php
|
||||||
|
@ -231,7 +231,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon( 'ms-admin' ); ?>
|
|
||||||
<h2><?php _e( 'Sites' ) ?>
|
<h2><?php _e( 'Sites' ) ?>
|
||||||
|
|
||||||
<?php if ( current_user_can( 'create_sites') ) : ?>
|
<?php if ( current_user_can( 'create_sites') ) : ?>
|
||||||
|
@ -90,7 +90,6 @@ if ( $action ) {
|
|||||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||||
|
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
screen_icon();
|
|
||||||
echo '<h2>' . esc_html( $title ) . '</h2>';
|
echo '<h2>' . esc_html( $title ) . '</h2>';
|
||||||
|
|
||||||
$url = self_admin_url('update.php?action=update-selected-themes&themes=' . urlencode( join(',', $themes) ));
|
$url = self_admin_url('update.php?action=update-selected-themes&themes=' . urlencode( join(',', $themes) ));
|
||||||
@ -137,7 +136,6 @@ if ( $action ) {
|
|||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php
|
<?php
|
||||||
$themes_to_delete = count( $themes );
|
$themes_to_delete = count( $themes );
|
||||||
screen_icon();
|
|
||||||
echo '<h2>' . _n( 'Delete Theme', 'Delete Themes', $themes_to_delete ) . '</h2>';
|
echo '<h2>' . _n( 'Delete Theme', 'Delete Themes', $themes_to_delete ) . '</h2>';
|
||||||
?>
|
?>
|
||||||
<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>
|
<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>
|
||||||
@ -227,7 +225,6 @@ require_once(ABSPATH . 'wp-admin/admin-header.php');
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('themes'); ?>
|
|
||||||
<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 }
|
<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 }
|
||||||
if ( $s )
|
if ( $s )
|
||||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?>
|
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?>
|
||||||
|
@ -39,7 +39,6 @@ if ( ! current_user_can( 'manage_network' ) )
|
|||||||
wp_die( __( 'You do not have permission to access this page.' ) );
|
wp_die( __( 'You do not have permission to access this page.' ) );
|
||||||
|
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
screen_icon('tools');
|
|
||||||
echo '<h2>' . __( 'Upgrade Network' ) . '</h2>';
|
echo '<h2>' . __( 'Upgrade Network' ) . '</h2>';
|
||||||
|
|
||||||
$action = isset($_GET['action']) ? $_GET['action'] : 'show';
|
$action = isset($_GET['action']) ? $_GET['action'] : 'show';
|
||||||
|
@ -69,7 +69,6 @@ $parent_file = 'users.php';
|
|||||||
require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
require( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2 id="add-new-user"><?php _e('Add New User') ?></h2>
|
<h2 id="add-new-user"><?php _e('Add New User') ?></h2>
|
||||||
<?php
|
<?php
|
||||||
if ( ! empty( $messages ) ) {
|
if ( ! empty( $messages ) ) {
|
||||||
|
@ -20,8 +20,6 @@ function confirm_delete_users( $users ) {
|
|||||||
$current_user = wp_get_current_user();
|
$current_user = wp_get_current_user();
|
||||||
if ( !is_array( $users ) )
|
if ( !is_array( $users ) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
screen_icon();
|
|
||||||
?>
|
?>
|
||||||
<h2><?php esc_html_e( 'Users' ); ?></h2>
|
<h2><?php esc_html_e( 'Users' ); ?></h2>
|
||||||
<p><?php _e( 'Transfer or delete posts before deleting users.' ); ?></p>
|
<p><?php _e( 'Transfer or delete posts before deleting users.' ); ?></p>
|
||||||
@ -275,7 +273,6 @@ if ( isset( $_REQUEST['updated'] ) && $_REQUEST['updated'] == 'true' && ! empty(
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php esc_html_e( 'Users' );
|
<h2><?php esc_html_e( 'Users' );
|
||||||
if ( current_user_can( 'create_users') ) : ?>
|
if ( current_user_can( 'create_users') ) : ?>
|
||||||
<a href="<?php echo network_admin_url('user-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php
|
<a href="<?php echo network_admin_url('user-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php
|
||||||
|
@ -31,7 +31,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<form method="post" action="options.php">
|
<form method="post" action="options.php">
|
||||||
|
@ -84,7 +84,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<form method="post" action="options.php">
|
<form method="post" action="options.php">
|
||||||
|
@ -40,7 +40,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<form action="options.php" method="post">
|
<form action="options.php" method="post">
|
||||||
|
@ -170,7 +170,6 @@ if ( ! is_multisite() ) {
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<form name="form" action="options-permalink.php" method="post">
|
<form name="form" action="options-permalink.php" method="post">
|
||||||
|
@ -76,7 +76,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<form method="post" action="options.php">
|
<form method="post" action="options.php">
|
||||||
|
@ -62,7 +62,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<form method="post" action="options.php">
|
<form method="post" action="options.php">
|
||||||
|
@ -200,7 +200,6 @@ if ( 'update' == $action ) {
|
|||||||
include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php esc_html_e('All Settings'); ?></h2>
|
<h2><?php esc_html_e('All Settings'); ?></h2>
|
||||||
<form name="form" action="options.php" method="post" id="all-options">
|
<form name="form" action="options.php" method="post" id="all-options">
|
||||||
<?php wp_nonce_field('options-options') ?>
|
<?php wp_nonce_field('options-options') ?>
|
||||||
|
@ -167,7 +167,6 @@ default:
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<div class="fileedit-sub">
|
<div class="fileedit-sub">
|
||||||
|
@ -73,7 +73,6 @@ get_current_screen()->set_help_sidebar(
|
|||||||
include(ABSPATH . 'wp-admin/admin-header.php');
|
include(ABSPATH . 'wp-admin/admin-header.php');
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon( 'plugins' ); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<?php $wp_list_table->views(); ?>
|
<?php $wp_list_table->views(); ?>
|
||||||
|
@ -116,7 +116,6 @@ if ( $action ) {
|
|||||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||||
|
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
screen_icon();
|
|
||||||
echo '<h2>' . esc_html( $title ) . '</h2>';
|
echo '<h2>' . esc_html( $title ) . '</h2>';
|
||||||
|
|
||||||
$url = self_admin_url('update.php?action=update-selected&plugins=' . urlencode( join(',', $plugins) ));
|
$url = self_admin_url('update.php?action=update-selected&plugins=' . urlencode( join(',', $plugins) ));
|
||||||
@ -259,7 +258,6 @@ if ( $action ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
screen_icon();
|
|
||||||
$plugins_to_delete = count( $plugin_info );
|
$plugins_to_delete = count( $plugin_info );
|
||||||
echo '<h2>' . _n( 'Delete Plugin', 'Delete Plugins', $plugins_to_delete ) . '</h2>';
|
echo '<h2>' . _n( 'Delete Plugin', 'Delete Plugins', $plugins_to_delete ) . '</h2>';
|
||||||
?>
|
?>
|
||||||
@ -408,7 +406,6 @@ if ( !empty($invalid) )
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title );
|
<h2><?php echo esc_html( $title );
|
||||||
if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?>
|
if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?>
|
||||||
<a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a>
|
<a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a>
|
||||||
|
@ -124,7 +124,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2 class="long-header"><?php echo $h2; ?></h2>
|
<h2 class="long-header"><?php echo $h2; ?></h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -133,7 +133,6 @@ if ( $description != $file_show )
|
|||||||
$description .= ' <span>(' . $file_show . ')</span>';
|
$description .= ' <span>(' . $file_show . ')</span>';
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<div class="fileedit-sub">
|
<div class="fileedit-sub">
|
||||||
|
@ -75,9 +75,6 @@ get_current_screen()->set_help_sidebar(
|
|||||||
include(ABSPATH . 'wp-admin/admin-header.php');
|
include(ABSPATH . 'wp-admin/admin-header.php');
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php
|
|
||||||
screen_icon();
|
|
||||||
?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
@ -33,7 +33,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<?php if ( current_user_can('edit_posts') ) : ?>
|
<?php if ( current_user_can('edit_posts') ) : ?>
|
||||||
|
@ -376,7 +376,6 @@ function do_core_upgrade( $reinstall = false ) {
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('tools'); ?>
|
|
||||||
<h2><?php _e('Update WordPress'); ?></h2>
|
<h2><?php _e('Update WordPress'); ?></h2>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@ -490,7 +489,6 @@ if ( 'upgrade-core' == $action ) {
|
|||||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon('tools'); ?>
|
|
||||||
<h2><?php _e('WordPress Updates'); ?></h2>
|
<h2><?php _e('WordPress Updates'); ?></h2>
|
||||||
<?php
|
<?php
|
||||||
if ( $upgrade_error ) {
|
if ( $upgrade_error ) {
|
||||||
@ -569,7 +567,6 @@ if ( 'upgrade-core' == $action ) {
|
|||||||
|
|
||||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
screen_icon('plugins');
|
|
||||||
echo '<h2>' . esc_html__('Update Plugins') . '</h2>';
|
echo '<h2>' . esc_html__('Update Plugins') . '</h2>';
|
||||||
echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>";
|
echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>";
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
@ -598,7 +595,6 @@ if ( 'upgrade-core' == $action ) {
|
|||||||
|
|
||||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
screen_icon('themes');
|
|
||||||
echo '<h2>' . esc_html__('Update Themes') . '</h2>';
|
echo '<h2>' . esc_html__('Update Themes') . '</h2>';
|
||||||
echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>";
|
echo "<iframe src='$url' style='width: 100%; height: 100%; min-height: 750px;' frameborder='0'></iframe>";
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
@ -177,7 +177,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2>
|
<h2>
|
||||||
<?php
|
<?php
|
||||||
echo esc_html( $title );
|
echo esc_html( $title );
|
||||||
|
@ -210,7 +210,6 @@ include (ABSPATH . 'wp-admin/admin-header.php');
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="wrap" id="profile-page">
|
<div class="wrap" id="profile-page">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2>
|
<h2>
|
||||||
<?php
|
<?php
|
||||||
echo esc_html( $title );
|
echo esc_html( $title );
|
||||||
|
@ -233,7 +233,6 @@ if ( isset($_GET['update']) ) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2 id="add-new-user"> <?php
|
<h2 id="add-new-user"> <?php
|
||||||
if ( current_user_can( 'create_users' ) ) {
|
if ( current_user_can( 'create_users' ) ) {
|
||||||
echo _x( 'Add New User', 'user' );
|
echo _x( 'Add New User', 'user' );
|
||||||
|
@ -218,7 +218,6 @@ case 'delete':
|
|||||||
<?php echo $referer; ?>
|
<?php echo $referer; ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php _e('Delete Users'); ?></h2>
|
<h2><?php _e('Delete Users'); ?></h2>
|
||||||
<?php if ( isset( $_REQUEST['error'] ) ) : ?>
|
<?php if ( isset( $_REQUEST['error'] ) ) : ?>
|
||||||
<div class="error">
|
<div class="error">
|
||||||
@ -323,7 +322,6 @@ case 'remove':
|
|||||||
<?php echo $referer; ?>
|
<?php echo $referer; ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php _e('Remove Users from Site'); ?></h2>
|
<h2><?php _e('Remove Users from Site'); ?></h2>
|
||||||
<p><?php _e('You have specified these users for removal:'); ?></p>
|
<p><?php _e('You have specified these users for removal:'); ?></p>
|
||||||
<ul>
|
<ul>
|
||||||
@ -425,7 +423,6 @@ if ( ! empty($messages) ) {
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2>
|
<h2>
|
||||||
<?php
|
<?php
|
||||||
echo esc_html( $title );
|
echo esc_html( $title );
|
||||||
|
@ -229,7 +229,6 @@ if ( isset($_GET['editwidget']) && $_GET['editwidget'] ) {
|
|||||||
|
|
||||||
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
<div class="editwidget"<?php echo $width; ?>>
|
<div class="editwidget"<?php echo $width; ?>>
|
||||||
<h3><?php printf( __( 'Widget %s' ), $name ); ?></h3>
|
<h3><?php printf( __( 'Widget %s' ), $name ); ?></h3>
|
||||||
@ -310,7 +309,6 @@ $errors = array(
|
|||||||
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php screen_icon(); ?>
|
|
||||||
<h2><?php echo esc_html( $title ); ?></h2>
|
<h2><?php echo esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?>
|
<?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user