From 096b2f58fa321ea57c5a72308a45add1cdd5453c Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Wed, 19 Aug 2015 10:35:25 +0000 Subject: [PATCH] Fix PHP notice after [33492] when updating themes. Props bobbingwide. See #33208. Fixes #33427. Built from https://develop.svn.wordpress.org/trunk@33645 git-svn-id: http://core.svn.wordpress.org/trunk@33612 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-upgrader-skins.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-upgrader-skins.php b/wp-admin/includes/class-wp-upgrader-skins.php index 3e9a5556b6..ad2cb89987 100644 --- a/wp-admin/includes/class-wp-upgrader-skins.php +++ b/wp-admin/includes/class-wp-upgrader-skins.php @@ -739,7 +739,7 @@ class Theme_Upgrader_Skin extends WP_Upgrader_Skin { } } elseif ( current_user_can( 'switch_themes' ) ) { if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { - $update_actions['preview'] .= '' . sprintf( __( 'Live Preview “%s”' ), $name ) . ''; + $update_actions['preview'] = '' . sprintf( __( 'Live Preview “%s”' ), $name ) . ''; } $update_actions['activate'] = '' . sprintf( __( 'Activate “%s”' ), $name ) . ''; } diff --git a/wp-includes/version.php b/wp-includes/version.php index c4ed40907b..04502717ea 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33644'; +$wp_version = '4.4-alpha-33645'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.