mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix error notice when creating page via extensions
This commit is contained in:
@@ -206,7 +206,7 @@ KEY meta_value_indx (um_value(191))
|
||||
$content = '[ultimatemember_password]';
|
||||
} elseif ( 'user' === $slug ) {
|
||||
$content = '[ultimatemember form_id="' . $setup_shortcodes['profile'] . '"]';
|
||||
} else {
|
||||
} elseif ( ! empty( $setup_shortcodes[ $slug ] ) ) {
|
||||
$content = '[ultimatemember form_id="' . $setup_shortcodes[ $slug ] . '"]';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user