From 5e9e1d14bd2ed95b69a894218d8508524e5e1b87 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 9 Sep 2015 01:02:24 +0000 Subject: [PATCH] `WP_Theme` has an ad hoc property in `WP_MS_Themes_List_Table`, `$update`. This can be set to a default value on the class, as it's not obtained via `__get()`. See #33491. Built from https://develop.svn.wordpress.org/trunk@33957 git-svn-id: http://core.svn.wordpress.org/trunk@33926 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-theme.php | 11 ++++++++++- wp-includes/version.php | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index ad70a4bf9e..03a81dd903 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -4,9 +4,18 @@ * * @package WordPress * @subpackage Theme + * @since 3.4.0 */ - final class WP_Theme implements ArrayAccess { + /** + * Whether the theme has been marked as updateable + * + * @see WP_MS_Themes_List_Table + * + * @access public + * @var bool + */ + public $update = false; /** * Headers for style.css files. diff --git a/wp-includes/version.php b/wp-includes/version.php index fdfbb7ae8f..b08adecd3b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33956'; +$wp_version = '4.4-alpha-33957'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.