WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/19/2014 05:59:07 AM (6 years ago)
Author:
wonderboymusic
Message:

Add missing access modifiers to methods/members in Walker and subclasses. Add a magic __get() method.

See #27881, #22234.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r28500 r28514  
    2222 */
    2323class Walker_Category_Checklist extends Walker {
    24     var $tree_type = 'category';
    25     var $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this
     24    public $tree_type = 'category';
     25    public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this
    2626
    2727    /**
Note: See TracChangeset for help on using the changeset viewer.