Better reflect variable purpose with updated name.

This commit is contained in:
Peter Fabian 2019-12-10 14:22:30 +01:00
parent df21ad72b9
commit d8f49787a4
1 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ class WC_Admin_Setup_Wizard {
*/
public function setup_wizard_header() {
// same as default WP from wp-admin/admin-header.php.
$version_class = 'branch-' . str_replace( array( '.', ',' ), '-', floatval( get_bloginfo( 'version' ) ) );
$wp_version_class = 'branch-' . str_replace( array( '.', ',' ), '-', floatval( get_bloginfo( 'version' ) ) );
set_current_screen();
?>
@ -393,7 +393,7 @@ class WC_Admin_Setup_Wizard {
<?php do_action( 'admin_print_styles' ); ?>
<?php do_action( 'admin_head' ); ?>
</head>
<body class="wc-setup wp-core-ui <?php echo esc_attr( 'wc-setup-step__' . $this->step ); ?> <?php echo esc_attr( $version_class ); ?>">
<body class="wc-setup wp-core-ui <?php echo esc_attr( 'wc-setup-step__' . $this->step ); ?> <?php echo esc_attr( $wp_version_class ); ?>">
<h1 class="wc-logo"><a href="https://woocommerce.com/"><img src="<?php echo esc_url( WC()->plugin_url() ); ?>/assets/images/woocommerce_logo.png" alt="<?php esc_attr_e( 'WooCommerce', 'woocommerce' ); ?>" /></a></h1>
<?php
}