Changeset 21792 for trunk/wp-includes/post.php
- Timestamp:
- 09/10/2012 05:00:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r21783 r21792 3371 3371 * @return array 3372 3372 */ 3373 function &get_page_children($page_id, $pages) {3373 function get_page_children($page_id, $pages) { 3374 3374 $page_list = array(); 3375 3375 foreach ( (array) $pages as $page ) { … … 3395 3395 * @return array A list arranged by hierarchy. Children immediately follow their parents. 3396 3396 */ 3397 function &get_page_hierarchy( &$pages, $page_id = 0 ) {3397 function get_page_hierarchy( &$pages, $page_id = 0 ) { 3398 3398 if ( empty( $pages ) ) { 3399 3399 $result = array(); … … 3463 3463 * @return array List of pages matching defaults or $args 3464 3464 */ 3465 function &get_pages($args = '') {3465 function get_pages($args = '') { 3466 3466 global $wpdb; 3467 3467 … … 4951 4951 * @return mixed Null if error or post object if success 4952 4952 */ 4953 function &wp_get_post_revision(&$post, $output = OBJECT, $filter = 'raw') {4953 function wp_get_post_revision(&$post, $output = OBJECT, $filter = 'raw') { 4954 4954 $null = null; 4955 4955 if ( !$revision = get_post( $post, OBJECT, $filter ) )
Note: See TracChangeset
for help on using the changeset viewer.