~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-includes/class-wp-walker.php

  • Committer: Barry Price
  • Date: 2016-08-17 04:49:28 UTC
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: barry.price@canonical.com-20160817044928-viijiwb4tl8jwzmp
new upstream release 4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
                //display this element
140
140
                $this->has_children = ! empty( $children_elements[ $id ] );
141
141
                if ( isset( $args[0] ) && is_array( $args[0] ) ) {
142
 
                        $args[0]['has_children'] = $this->has_children; // Backwards compatibility.
 
142
                        $args[0]['has_children'] = $this->has_children; // Back-compat.
143
143
                }
144
144
 
145
145
                $cb_args = array_merge( array(&$output, $element, $depth), $args);
386
386
         *
387
387
         * @since 2.7.0
388
388
         * @access public
389
 
         * 
 
389
         *
390
390
         * @param array $elements Elements to list.
391
391
         * @return int Number of root elements.
392
392
         */