mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-10 04:00:07 +00:00
Coding Standards: Give a variable in wp-admin/themes.php a more meaningful name.
Follow-up to [20029]. See #52627. git-svn-id: https://develop.svn.wordpress.org/trunk@50696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -297,10 +297,10 @@ if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) {
|
||||
<?php
|
||||
}
|
||||
|
||||
$ct = wp_get_theme();
|
||||
$current_theme = wp_get_theme();
|
||||
|
||||
if ( $ct->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) {
|
||||
echo '<div class="error"><p>' . __( 'Error:' ) . ' ' . $ct->errors()->get_error_message() . '</p></div>';
|
||||
if ( $current_theme->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) {
|
||||
echo '<div class="error"><p>' . __( 'Error:' ) . ' ' . $current_theme->errors()->get_error_message() . '</p></div>';
|
||||
}
|
||||
|
||||
$current_theme_actions = array();
|
||||
|
||||
Reference in New Issue
Block a user