mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 15:13:55 +09:00
- reviewed #1255;
This commit is contained in:
@@ -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 }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user