diff --git a/includes/admin/class-settings.php b/includes/admin/class-settings.php index 817e051..65b0a5a 100644 --- a/includes/admin/class-settings.php +++ b/includes/admin/class-settings.php @@ -91,7 +91,7 @@ function network_settings_page() { // Standalone site menu if ( true === is_multisite() && false === WPGA()->is_network_enabled() ) { - add_submenu_page( 'options-general.php', esc_html__( 'WP Google Authenticator Settings', 'wpga' ), esc_html__( 'Authenticator', 'wpga' ), 'administrator', 'wpga-settings', array( + add_submenu_page( 'options-general.php', sprintf( esc_html__( '%1$s Settings', 'wpga' ), WPGA_NAME ), esc_html__( 'Authenticator', 'wpga' ), 'administrator', 'wpga-settings', array( $this, 'settings_page', ) ); @@ -447,7 +447,7 @@ public function settings_page() { $form_action = is_network_admin() ? esc_url( add_query_arg( 'page', 'wpga-settings', admin_url( 'network/settings.php' ) ) ): esc_url( add_query_arg( 'page', 'wpga_options', admin_url( 'options-general.php' ) ) ); ?>
-

+

-

+

WPGA_PREFIX . '_options', 'menu_name' => esc_html__( 'Authenticator', 'wpga' ), 'parent' => 'options-general.php', - 'page_title' => esc_html__( 'WP Google Authenticator Settings', 'wpga' ), + 'page_title' => sprintf( esc_html__( '%1$s Settings', 'wpga' ), WPGA_NAME ), 'slug' => WPGA_PREFIX . '_options', 'page' => 'wpga-settings', 'prefix' => WPGA_PREFIX, diff --git a/includes/admin/functions-user-profile.php b/includes/admin/functions-user-profile.php index 8f9c367..98b5f77 100644 --- a/includes/admin/functions-user-profile.php +++ b/includes/admin/functions-user-profile.php @@ -44,7 +44,7 @@ function wpga_user_profile_fields( $user ) { } ?> -

+