• Hi All,

    I’m building a custom theme and I really need to use the “exclude_tree” feature of the wp_list_pages function.

    I’ve just discovered that there is a bug which means only the first supplied tree id is excluded, and the rest ignored.

    This bug is actually mentioned on the codex page here:

    https://codex.www.ads-software.com/Function_Reference/wp_list_pages

    “exclude_tree
    (string) Define a comma-separated list of parent Page IDs to be excluded. Use this parameter to exclude a parent and all of that parent’s child Pages. So ‘exclude_tree=5’ would exclude the parent Page 5, and its child (all descendant) Pages. (This parameter was added with Version 2.7, and it does not function as described as of version 2.8.1 – See bug report.)”

    and the bug report (from four years ago) is here:

    https://core.trac.www.ads-software.com/ticket/9153

    So it seems the same bug is still there in 3.5.1. There has been no activity on the bug report for 13 months.

    Does this mean that this bug is here to stay?

    What can I do to help?

    Thanks in advance…

  • The topic ‘Really Old Bug Not Fixed, Help!’ is closed to new replies.