WordPress.org

Make WordPress Core

Changeset 33957


Ignore:
Timestamp:
09/09/2015 01:01:12 AM (4 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r32650 r33957  
    55 * @package WordPress
    66 * @subpackage Theme
     7 * @since 3.4.0
    78 */
    8 
    99final class WP_Theme implements ArrayAccess {
     10    /**
     11     * Whether the theme has been marked as updateable
     12     *
     13     * @see WP_MS_Themes_List_Table
     14     *
     15     * @access public
     16     * @var bool
     17     */
     18    public $update = false;
    1019
    1120    /**
Note: See TracChangeset for help on using the changeset viewer.