Changeset 55845 for trunk/src/wp-includes/post.php
- Timestamp:
- 05/22/2023 10:01:07 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r55743 r55845 6032 6032 $post_author = $post_author->ID; 6033 6033 } 6034 $query_args['author__in'][] = $post_author;6034 $query_args['author__in'][] = (int) $post_author; 6035 6035 } 6036 6036 } … … 6060 6060 $query_args['posts_per_page'] = $number; 6061 6061 } 6062 6063 /** 6064 * Filters query arguments passed to WP_Query in get_pages. 6065 * 6066 * @since 6.3.0 6067 * 6068 * @param array $query_args Array of arguments passed to WP_Query. 6069 * @param array $parsed_args Array of get_pages() arguments. 6070 */ 6071 $query_args = apply_filters( 'get_pages_query_args', $query_args, $parsed_args ); 6062 6072 6063 6073 $query = new WP_Query( $query_args );
Note: See TracChangeset
for help on using the changeset viewer.