[wp-trac] Re: [WordPress Trac] #4351: Modify Walker_Page to add current_page_tree class for some style

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 25 20:33:10 GMT 2008


#4351: Modify Walker_Page to add current_page_tree class for some style
-------------------------------------------------+--------------------------
 Reporter:  ev3rywh3re                           |        Owner:  anonymous
     Type:  enhancement                          |       Status:  new      
 Priority:  normal                               |    Milestone:  2.5      
Component:  Template                             |      Version:  2.3      
 Severity:  normal                               |   Resolution:           
 Keywords:  Walker_Page wp_list_pages has-patch  |  
-------------------------------------------------+--------------------------
Comment (by ev3rywh3re):

 I actually ran into this again working on a recent site that wanted
 collapsible sidebar menus. I had to write a small widget with a custom
 Walker_Page class, walk_page_tree function, and wp_list_pages function...
 and noticed it was a one-line change.

 I remembered this old ticket, so I thought I would add an updated patch
 especially since the change is the addition of a single line of code to
 modify the class name output.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4351#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list