Coding Standards: Give a variable in `wp-admin/themes.php` a more meaningful name.
Follow-up to [20029]. See #52627. Built from https://develop.svn.wordpress.org/trunk@50696 git-svn-id: http://core.svn.wordpress.org/trunk@50305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3d04a220be
commit
2a7238f658
|
@ -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();
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.8-alpha-50695';
|
||||
$wp_version = '5.8-alpha-50696';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue