mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fix wrong user id in account block
This commit is contained in:
@@ -139,7 +139,7 @@ if ( ! class_exists( 'um\core\Blocks' ) ) {
|
||||
|
||||
|
||||
public function um_account_render( $atts ) {
|
||||
$shortcode = '[ultimatemember_account';
|
||||
$shortcode = '[ultimatemember_account widget="1"';
|
||||
|
||||
if ( isset( $atts['tab'] ) && 'all' !== $atts['tab'] ) {
|
||||
$shortcode .= ' tab="' . $atts['tab'] . '"';
|
||||
|
||||
Reference in New Issue
Block a user