`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:
parent
128cc02f39
commit
5e9e1d14bd
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue