wp core update 6.6
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
require_once __DIR__ . '/admin.php';
|
||||
require ABSPATH . 'wp-admin/includes/theme-install.php';
|
||||
|
||||
wp_reset_vars( array( 'tab' ) );
|
||||
$tab = ! empty( $_REQUEST['tab'] ) ? sanitize_text_field( $_REQUEST['tab'] ) : '';
|
||||
|
||||
if ( ! current_user_can( 'install_themes' ) ) {
|
||||
wp_die( __( 'Sorry, you are not allowed to install themes on this site.' ) );
|
||||
@@ -56,7 +56,6 @@ wp_localize_script(
|
||||
'l10n' => array(
|
||||
'addNew' => __( 'Add New Theme' ),
|
||||
'search' => __( 'Search Themes' ),
|
||||
'searchPlaceholder' => __( 'Search themes...' ), // Placeholder (no ellipsis).
|
||||
'upload' => __( 'Upload Theme' ),
|
||||
'back' => __( 'Back' ),
|
||||
'error' => sprintf(
|
||||
@@ -217,7 +216,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<button type="button" class="button drawer-toggle" aria-expanded="false"><?php _e( 'Feature Filter' ); ?></button>
|
||||
|
||||
<form class="search-form"></form>
|
||||
<form class="search-form"><p class="search-box"></p></form>
|
||||
|
||||
<div class="favorites-form">
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user