Ticket #39049: 39049.patch
File 39049.patch, 731 bytes (added by , 8 years ago) |
---|
-
wp-includes/post.php
4471 4471 } 4472 4472 4473 4473 /** 4474 * Retrieve a listof pages.4474 * Retrieve an array of pages. 4475 4475 * 4476 4476 * @global wpdb $wpdb WordPress database abstraction object. 4477 4477 * … … 4510 4510 * @type string|array $post_status A comma-separated list or array of post statuses to include. 4511 4511 * Default 'publish'. 4512 4512 * } 4513 * @return array|false Listof pages matching defaults or `$args`.4513 * @return array|false Array of pages matching defaults or `$args`. 4514 4514 */ 4515 4515 function get_pages( $args = array() ) { 4516 4516 global $wpdb;