[wp-trac] Re: [WordPress Trac] #5844: remove extra <ul> in walker class

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 14 03:27:36 GMT 2008


#5844: remove extra <ul> in walker class
---------------------+------------------------------------------------------
 Reporter:  hailin   |        Owner:  anonymous
     Type:  defect   |       Status:  reopened 
 Priority:  normal   |    Milestone:  2.5      
Component:  General  |      Version:  2.5      
 Severity:  normal   |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by hailin):

 the issue is that when $depth = 1, it creates empty <ul> </ul>.
 The new patch addresses that: it checks earlier so it won't descend
 another level if not necessary. Verified with blogs with depth=1 theme
 (mwlibrary.wordpress.com).

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


More information about the wp-trac mailing list