diff --git a/assets/css/um-profile.css b/assets/css/um-profile.css index 67000968..8ee8dd23 100644 --- a/assets/css/um-profile.css +++ b/assets/css/um-profile.css @@ -53,7 +53,6 @@ background-color: #eee; box-sizing: border-box; position: relative; - overflow: hidden; } .um-cover-add { @@ -75,6 +74,7 @@ .um-cover-e { text-align: center; box-sizing: border-box; + overflow: hidden; } .um-cover-e img {width: 100% !important} diff --git a/assets/js/um-functions.js b/assets/js/um-functions.js index 48fb3d4b..ff8a1ab2 100644 --- a/assets/js/um-functions.js +++ b/assets/js/um-functions.js @@ -184,7 +184,7 @@ function um_responsive(){ }); - jQuery('.um-cover, .um-member-cover').each(function(){ + jQuery('.um-cover, .um-member-cover, .um-cover-e').each(function(){ var elem = jQuery(this); var ratio = elem.data('ratio'); diff --git a/includes/core/um-actions-account.php b/includes/core/um-actions-account.php index b936891b..7470f2bf 100644 --- a/includes/core/um-actions-account.php +++ b/includes/core/um-actions-account.php @@ -376,7 +376,7 @@ add_action( 'um_account_page_hidden_fields', 'um_account_page_hidden_fields' ); * Before delete account tab content */ function um_before_account_delete() { - echo wpautop( UM()->options()->get( 'delete_account_text' ) ); + echo wpautop( htmlspecialchars( UM()->options()->get( 'delete_account_text' ) ) ); } add_action( 'um_before_account_delete', 'um_before_account_delete' );