WordPress.org

Make WordPress Core

Changes between Initial Version and Version 10 of Ticket #10230


Ignore:
Timestamp:
09/11/2012 10:54:52 AM (6 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10230

    • Property Cc arakeis added
    • Property Component changed from General to Template
    • Property Keywords has-patch needs-testing added; get_pages wp_list_pages removed
    • Property Milestone changed from 2.8.1 to Future Release
    • Property Owner set to ryan
  • Ticket #10230 – Description

    initial v10  
    44
    55So with a structure of:
    6 
     6{{{
    77Parent 1
    88Parent 2
     
    1111   Child 2
    1212   Child 3
    13 
     13}}}
    1414passing a number=2 and child_of=(parent 3 id) will not give the expected output. In this case, the result will first be limited to only include:
    15 
     15{{{
    1616Parent 1
    1717Parent 2
    18 
     18}}}
    1919so the child_of will be ignored. To produce a more logical result, child_of should be evaluated first, then number should be evaluated to limit the result set.