[wp-trac] [WordPress Trac] #26987: Bug in wp_list_pages(), caused by start_lvl()

WordPress Trac noreply at wordpress.org
Sun Mar 2 17:41:43 UTC 2014


#26987: Bug in wp_list_pages(), caused by start_lvl()
-------------------------------------------+------------------------------
 Reporter:  awelzel                        |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  General                        |     Version:  3.8.1
 Severity:  normal                         |  Resolution:
 Keywords:  2nd-opinion reporter-feedback  |     Focuses:
-------------------------------------------+------------------------------

Comment (by awelzel):

 Well - you can see - there is a <p> element where it shouldn't be.

 But: What you published on https://cloudup.com/cIT03rwdsMT is not what
 get's delivered by WordPress. It seems your browser automatically cleans
 up malformed code.

 See: http://validator.w3.org/check?uri=http%3A%2F%2Farnowelzel.de%2Fwpdemo
 %2Fsitemap-en

 And this is the version which will soon become my live site with the
 proposed bug fix (leave out the extra `\n` in `start_lvl()`):
 http://arnowelzel.de/wp/en/sitemap

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26987#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list