Wordpress 4.6
[autoinstalls/wordpress.git] / wp-includes / class-wp-walker.php
index ee68a205e96aea9ee93b70ee0f21638ab75ef7fc..57bd90bfd32d7434e635532d76c91d2e89fde2ca 100644 (file)
@@ -139,7 +139,7 @@ class Walker {
                //display this element
                $this->has_children = ! empty( $children_elements[ $id ] );
                if ( isset( $args[0] ) && is_array( $args[0] ) ) {
-                       $args[0]['has_children'] = $this->has_children; // Backwards compatibility.
+                       $args[0]['has_children'] = $this->has_children; // Back-compat.
                }
 
                $cb_args = array_merge( array(&$output, $element, $depth), $args);
@@ -386,7 +386,7 @@ class Walker {
         *
         * @since 2.7.0
         * @access public
-        * 
+        *
         * @param array $elements Elements to list.
         * @return int Number of root elements.
         */