Ticket #29374: 29374.1.diff
File 29374.1.diff, 700 bytes (added by , 10 years ago) |
---|
-
wp-admin/includes/dashboard.php
689 689 'cache_results' => false, 690 690 'perm' => ( 'future' === $args['status'] ) ? 'editable' : 'readable', 691 691 ); 692 /** 693 * Filter the query args used for the Recent Posts widget. 694 * 695 * @since 4.2.0 696 * 697 * @param array $query_args The arguments passed to WP_Query to produce the list of posts 698 */ 699 $query_args = apply_filters( 'dashboard_recent_posts_query_args', $query_args ); 692 700 $posts = new WP_Query( $query_args ); 693 701 694 702 if ( $posts->have_posts() ) {