From b23f76291980b19ca90d4d5772f84520aaee44a4 Mon Sep 17 00:00:00 2001 From: nikitozzzzzzz Date: Wed, 2 May 2018 15:46:09 +0300 Subject: [PATCH] - fixed Profile menu on some installs; - typo fixed; --- assets/css/um-responsive.css | 8 ++++++++ includes/admin/templates/form/login_customize.php | 2 +- includes/admin/templates/form/profile_customize.php | 2 +- includes/admin/templates/form/register_customize.php | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/assets/css/um-responsive.css b/assets/css/um-responsive.css index c125e09b..43558ccd 100644 --- a/assets/css/um-responsive.css +++ b/assets/css/um-responsive.css @@ -6,6 +6,14 @@ display: none; } +.um-profile-nav-item a.uimob340-show, +.um-profile-nav-item a.uimob500-show, +.um-profile-nav-item a.uimob800-show, +.um-profile-nav-item a.uimob960-show +{ + display: none; +} + div.uimob340 .uimob340-show, div.uimob500 .uimob500-show, div.uimob800 .uimob800-show, diff --git a/includes/admin/templates/form/login_customize.php b/includes/admin/templates/form/login_customize.php index a4ed6046..aafe97ab 100644 --- a/includes/admin/templates/form/login_customize.php +++ b/includes/admin/templates/form/login_customize.php @@ -65,7 +65,7 @@ array( 'id' => '_um_login_secondary_btn_word', 'type' => 'text', - 'label' => __( 'Primary Button Text', 'ultimate-member' ), + 'label' => __( 'Secondary Button Text', 'ultimate-member' ), 'tooltip' => __( 'Customize the button text', 'ultimate-member' ), 'value' => UM()->query()->get_meta_value( '_um_login_secondary_btn_word', null, UM()->options()->get( 'login_secondary_btn_word' ) ), 'conditional' => array( '_um_login_secondary_btn', '=', 1 ) diff --git a/includes/admin/templates/form/profile_customize.php b/includes/admin/templates/form/profile_customize.php index 06964965..6104eae0 100644 --- a/includes/admin/templates/form/profile_customize.php +++ b/includes/admin/templates/form/profile_customize.php @@ -90,7 +90,7 @@ array( 'id' => '_um_profile_secondary_btn_word', 'type' => 'text', - 'label' => __( 'Primary Button Text', 'ultimate-member' ), + 'label' => __( 'Secondary Button Text', 'ultimate-member' ), 'tooltip' => __( 'Customize the button text', 'ultimate-member' ), 'value' => UM()->query()->get_meta_value( '_um_profile_secondary_btn_word', null, UM()->options()->get( 'profile_secondary_btn_word' ) ), 'conditional' => array( '_um_profile_secondary_btn', '=', 1 ) diff --git a/includes/admin/templates/form/register_customize.php b/includes/admin/templates/form/register_customize.php index 4ac2e907..3d94efd2 100644 --- a/includes/admin/templates/form/register_customize.php +++ b/includes/admin/templates/form/register_customize.php @@ -80,7 +80,7 @@ array( 'id' => '_um_register_secondary_btn_word', 'type' => 'text', - 'label' => __( 'Primary Button Text', 'ultimate-member' ), + 'label' => __( 'Secondary Button Text', 'ultimate-member' ), 'tooltip' => __( 'Customize the button text', 'ultimate-member' ), 'value' => UM()->query()->get_meta_value( '_um_register_secondary_btn_word', null, UM()->options()->get( 'register_secondary_btn_word' ) ), 'conditional' => array( '_um_register_secondary_btn', '=', 1 )