Make WordPress Core

Ticket #39862: 39862.diff

File 39862.diff, 295 bytes (added by AlexGW, 8 years ago)

patch for class-wp-walker.php

Line 
150a51,58
2>        * Total children of current element.
3>        *
4>        * @since 4.7.2
5>        * @var int
6>        */
7>       public $total_children;
8>
9>       /**
10142a151,154
11>               }
12>               $this->total_children = 0;
13>               if ( $this->has_children ) {
14>                       $this->total_children = count( $children_elements[ $id ] );