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

WordPress Trac noreply at wordpress.org
Sun Mar 2 20:09: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   |     Focuses:
--------------------------+------------------------------
Changes (by aubreypwd):

 * keywords:  2nd-opinion reporter-feedback => 2nd-opinion


Comment:

 I still don't think that this is a core issue, because the only way I can
 duplicate the issue is by applying `the_content()`, see
 https://gist.github.com/aubreypwd/d38291898529be1ec351#file-
 test_v2-php-L47 and https://cloudup.com/cKD0OqzHzUG

 But, when I don't apply `the_content()` to the return, I don't get the
 stray `<p>`. I possibly suspect https://plugins.trac.wordpress.org/browser
 /wp-sitemap-page/trunk/wp-sitemap-page.php#L502 in the plugin (I'm
 assuming this is the plugin you're using) that applies that function
 multiple times to the `$return` string.

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


More information about the wp-trac mailing list