From 96856b11efbe9a4d0e67dd66c6474c84df187a72 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Tue, 12 Nov 2024 12:52:19 -0700 Subject: [PATCH] Ensure the add_new and add_new_item labels are the same --- inc/classes/class-srm-post-type.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/classes/class-srm-post-type.php b/inc/classes/class-srm-post-type.php index 2ec6b4b8..18f401ca 100644 --- a/inc/classes/class-srm-post-type.php +++ b/inc/classes/class-srm-post-type.php @@ -602,8 +602,8 @@ public function action_register_post_types() { $redirect_labels = array( 'name' => esc_html_x( 'Safe Redirect Manager', 'post type general name', 'safe-redirect-manager' ), 'singular_name' => esc_html_x( 'Redirect', 'post type singular name', 'safe-redirect-manager' ), - 'add_new' => _x( 'Create Redirect Rule', 'redirect rule', 'safe-redirect-manager' ), - 'add_new_item' => esc_html__( 'Safe Redirect Manager', 'safe-redirect-manager' ), + 'add_new' => esc_html_x( 'Create Redirect Rule', 'redirect rule', 'safe-redirect-manager' ), + 'add_new_item' => esc_html__( 'Create Redirect Rule', 'safe-redirect-manager' ), 'edit_item' => esc_html__( 'Edit Redirect Rule', 'safe-redirect-manager' ), 'new_item' => esc_html__( 'New Redirect Rule', 'safe-redirect-manager' ), 'all_items' => esc_html__( 'Safe Redirect Manager', 'safe-redirect-manager' ),