WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] List whole subpages failing in RC3 (3 posts)

  1. esmi
    Forum Moderator
    Posted 2 years ago #

    I don't know if this is related to http://wordpress.org/support/topic/nest-page-ancestors-in-34-r3 but I'm having problems with a generated subpage tree generated by code based on the Codex entry.

    The function itself is available at http://pastebin.com/sqW0j9WB. It's within functions.php and is called in loop-page.php. It works fine in 3.3.2 and on the parent page in 3.4-RC3 but fails on all child pages. My guess is that it's related to $post->ancestors.

  2. Jon Cave
    WordPress Dev
    Posted 2 years ago #

    My guess is that it's related to $post->ancestors.

    Looks like it. Try RC4 and hopefully that'll fix it.

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    I'm on bleeding-edge-nightlies so I grabbed RC4 this morning. Yes - it's fixed. :-) Looks like it might have been related to http://core.trac.wordpress.org/ticket/18536#comment:88

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.