Add missing access modifiers to methods/members in Walker and subclasses. Add a magic __get() method.
See #27881, #22234. Built from https://develop.svn.wordpress.org/trunk@28514 git-svn-id: http://core.svn.wordpress.org/trunk@28340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
* @since 2.5.1
|
||||
*/
|
||||
class Walker_Category_Checklist extends Walker {
|
||||
var $tree_type = 'category';
|
||||
var $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this
|
||||
public $tree_type = 'category';
|
||||
public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this
|
||||
|
||||
/**
|
||||
* Starts the list before the elements are added.
|
||||
|
||||
Reference in New Issue
Block a user