]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-walker.php
WordPress 3.4
[autoinstalls/wordpress.git] / wp-includes / class-wp-walker.php
index 25e040592cf87c170b44c65b3d5ec5c5827fa095..5478da90d8a7f67bd7de69c722a7b3fdbc1070cf 100644 (file)
@@ -52,7 +52,7 @@ class Walker {
         *
         * @param string $output Passed by reference. Used to append additional content.
         */
-       function start_lvl(&$output) {}
+       function start_lvl( &$output, $depth = 0, $args = array() ) {}
 
        /**
         * Ends the list of after the elements are added.
@@ -66,7 +66,7 @@ class Walker {
         *
         * @param string $output Passed by reference. Used to append additional content.
         */
-       function end_lvl(&$output)   {}
+       function end_lvl( &$output, $depth = 0, $args = array() )   {}
 
        /**
         * Start the element output.
@@ -80,7 +80,7 @@ class Walker {
         *
         * @param string $output Passed by reference. Used to append additional content.
         */
-       function start_el(&$output)  {}
+       function start_el( &$output, $object, $depth, $args, $current_object_id = 0 )  {}
 
        /**
         * Ends the element output, if needed.
@@ -93,7 +93,7 @@ class Walker {
         *
         * @param string $output Passed by reference. Used to append additional content.
         */
-       function end_el(&$output)    {}
+       function end_el( &$output, $object, $depth = 0, $args = array() )    {}
 
        /**
         * Traverse elements to create list from elements.
@@ -395,5 +395,3 @@ class Walker {
 
        }
 }
-
-?>
\ No newline at end of file