[wp-trac] [WordPress Trac] #2593: The walk_tree family should be a class

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 23 21:12:41 GMT 2006


#2593: The walk_tree family should be a class
----------------------------+-----------------------------------------------
       Id:  2593            |      Status:  new                     
Component:  Administration  |    Modified:  Thu Mar 23 21:12:41 2006
 Severity:  normal          |   Milestone:                          
 Priority:  normal          |     Version:  1.2                     
    Owner:  anonymous       |    Reporter:  davidhouse              
----------------------------+-----------------------------------------------
 Here's a patch that refactors the new walk_tree() functions into a class.
 Extend the class to create a walker (examples included of categories and
 pages). Create an instance and call walk() to return the output, then echo
 or whatever.

 Just look at the code :)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2593>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list