From f216e0cdc5dca27ed7d14c4a6c7366b8bc943e63 Mon Sep 17 00:00:00 2001 From: Austin Gilmour Date: Fri, 15 May 2026 13:21:51 -0400 Subject: [PATCH] Remove dated 'New' label and 'See what's new in 2.3' link from Job Statistics banner Job Statistics shipped in April 2024 so the 'New' badge and the blog post link are no longer current. Clears both from the release notice. Fixes #2943 Co-Authored-By: Claude Sonnet 4.6 --- includes/admin/class-release-notice.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/includes/admin/class-release-notice.php b/includes/admin/class-release-notice.php index 8d75bb193..3c8787135 100644 --- a/includes/admin/class-release-notice.php +++ b/includes/admin/class-release-notice.php @@ -48,7 +48,7 @@ public static function add_release_notice( $notices ) { $action_url = \WP_Job_Manager_Admin_Notices::get_action_url( 'enable_stats', self::NOTICE_ID ); $notices[ self::NOTICE_ID ] = [ 'type' => 'site-wide', - 'label' => 'New', + 'label' => '', 'heading' => 'Job Statistics', 'message' => '
' . __( ' @@ -73,11 +73,6 @@ public static function add_release_notice( $notices ) { 'url' => \WP_Job_Manager_Admin_Notices::get_dismiss_url( self::NOTICE_ID ), 'primary' => false, ], - [ - 'label' => __( 'See what\'s new in 2.3', 'wp-job-manager' ), - 'url' => 'https://wpjobmanager.com/2024/04/29/new-in-2-3-job-statistics/', - 'class' => 'is-link', - ], ], 'icon' => false, 'level' => 'landing',