From 9ffcd2812395f6af0ed7a3b3958a272995e0d857 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Tue, 3 Mar 2026 11:10:13 +0100 Subject: [PATCH] Fix wp_dashboard_right_now() to correctly pass post type to the class --- src/wp-admin/includes/dashboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php index 214b6c22c686a..393e229514fd1 100644 --- a/src/wp-admin/includes/dashboard.php +++ b/src/wp-admin/includes/dashboard.php @@ -326,7 +326,7 @@ function wp_dashboard_right_now() { ), admin_url( 'edit.php' ) ); - printf( '
  • %2$s
  • ', esc_url( $url ), esc_html( $text ) ); + printf( '
  • %3$s
  • ', $post_type, esc_url( $url ), esc_html( $text ) ); } else { printf( '
  • %2$s
  • ', $post_type, $text ); }