mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix account deletion custom text
This commit is contained in:
@@ -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' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user