From e6371b1223142d5a74d40e730ce5e76a3deb13ce Mon Sep 17 00:00:00 2001 From: Ryan Welcher Date: Mon, 10 Aug 2026 12:31:26 -0400 Subject: [PATCH] Test PR --- src/wp-admin/includes/dashboard.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 0fe5c62064b64..393718273d249 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -1003,10 +1003,12 @@ function wp_dashboard_recent_posts( $args ) { * Filters the query arguments used for the Recent Posts widget. * * @since 4.2.0 + * @since 6.9.0 Added the `$id` parameter. * - * @param array $query_args The arguments passed to WP_Query to produce the list of posts. + * @param array $query_args The arguments passed to WP_Query to produce the list of posts. + * @param string $id The ID of the widget. */ - $query_args = apply_filters( 'dashboard_recent_posts_query_args', $query_args ); + $query_args = apply_filters( 'dashboard_recent_posts_query_args', $query_args, $args['id'] ); $posts = new WP_Query( $query_args );