This commit is contained in:
Mykyta Synelnikov
2023-07-25 00:29:35 +03:00
parent 72dfbf4014
commit 9447fb6675
3 changed files with 17 additions and 10 deletions
+5 -3
View File
@@ -6,7 +6,7 @@
*
* Page: "Profile"
*
* @version 2.6.1
* @version 2.6.9
*
* @var string $mode
* @var int $form_id
@@ -14,7 +14,9 @@
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
}
$description_key = UM()->profile()->get_show_bio_key( $args );
?>
<div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?> um-role-<?php echo esc_attr( um_user( 'role' ) ); ?> ">
@@ -43,7 +45,7 @@ if ( ! defined( 'ABSPATH' ) ) {
do_action( 'um_profile_before_header', $args );
if ( um_is_on_edit_profile() ) { ?>
<form method="post" action="">
<form method="post" action="" data-description_key="<?php echo esc_attr( $description_key ); ?>">
<?php }
/**