From 29d06de35db6adee36266af761467939a19d9b96 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Sun, 11 Jan 2015 01:55:34 +0000 Subject: [PATCH] `Walker::$has_children` should be public for backward compatibility. See [31137]. See #30891. git-svn-id: https://develop.svn.wordpress.org/trunk@31141 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-walker.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-walker.php b/src/wp-includes/class-wp-walker.php index cd099c758d..f1d7597892 100644 --- a/src/wp-includes/class-wp-walker.php +++ b/src/wp-includes/class-wp-walker.php @@ -43,10 +43,9 @@ class Walker { * To be used in start_el(). * * @since 4.0.0 - * @access protected * @var bool */ - protected $has_children; + public $has_children; /** * Starts the list before the elements are added.