Make WordPress Core

Changeset 40027


Ignore:
Timestamp:
01/29/2017 10:58:04 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Docs: Clarify that wp_list_pages() and get_pages() only work with hierarchical post types.

Props doublehhh.
Fixes #39369.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-template.php

    r39599 r40027  
    11271127
    11281128/**
    1129  * Retrieve or display list of pages in list (li) format.
     1129 * Retrieve or display list of pages (or hierarchical post type items) in list (li) format.
    11301130 *
    11311131 * @since 1.5.0
  • trunk/src/wp-includes/post.php

    r39667 r40027  
    44724472
    44734473/**
    4474  * Retrieve a list of pages.
     4474 * Retrieve a list of pages (or hierarchical post type items).
    44754475 *
    44764476 * @global wpdb $wpdb WordPress database abstraction object.
Note: See TracChangeset for help on using the changeset viewer.