`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
This commit is contained in:
Scott Taylor 2015-09-09 01:02:24 +00:00
parent 128cc02f39
commit 5e9e1d14bd
2 changed files with 11 additions and 2 deletions

View File

@ -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.

View File

@ -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.