From 6a87370cfe9b9df2cef58d63afe3c6c4b00bcade Mon Sep 17 00:00:00 2001 From: Paul Kevan Date: Wed, 11 Dec 2024 10:11:12 +0000 Subject: [PATCH] Adjust naming to be clearer and add some more descriptive text around the use --- public_html/wp-content/plugins/camptix/camptix.php | 2 +- .../plugins/camptix/inc/class-camptix-badges.php | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/public_html/wp-content/plugins/camptix/camptix.php b/public_html/wp-content/plugins/camptix/camptix.php index 1ba3824e3..1e9325906 100644 --- a/public_html/wp-content/plugins/camptix/camptix.php +++ b/public_html/wp-content/plugins/camptix/camptix.php @@ -2033,7 +2033,7 @@ function format_name_string( $name_string, $given_name, $surname ) { function admin_menu() { add_submenu_page( 'edit.php?post_type=tix_ticket', __( 'Tools', 'wordcamporg' ), __( 'Tools', 'wordcamporg' ), $this->caps['manage_tools'], 'camptix_tools', array( $this, 'menu_tools' ) ); add_submenu_page( 'edit.php?post_type=tix_ticket', __( 'Setup', 'wordcamporg' ), __( 'Setup', 'wordcamporg' ), $this->caps['manage_options'], 'camptix_options', array( $this, 'menu_setup' ) ); - add_submenu_page( 'edit.php?post_type=tix_ticket', __( 'Badges', 'wordcamporg' ), __( 'Badges', 'wordcamporg' ), $this->caps['manage_options'], 'camptix_badges', 'Camptix\Badges\menu_badges' ); + add_submenu_page( 'edit.php?post_type=tix_ticket', __( 'Profile Badges', 'wordcamporg' ), __( 'Profile Badges', 'wordcamporg' ), $this->caps['manage_options'], 'camptix_badges', 'Camptix\Profile_Badges\menu_badges' ); remove_submenu_page( 'edit.php?post_type=tix_ticket', 'post-new.php?post_type=tix_ticket' ); } diff --git a/public_html/wp-content/plugins/camptix/inc/class-camptix-badges.php b/public_html/wp-content/plugins/camptix/inc/class-camptix-badges.php index 7742a4c71..1ead01d5c 100644 --- a/public_html/wp-content/plugins/camptix/inc/class-camptix-badges.php +++ b/public_html/wp-content/plugins/camptix/inc/class-camptix-badges.php @@ -1,6 +1,6 @@ -

+
+

+

+