mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed save fields register/profile;
This commit is contained in:
@@ -167,7 +167,7 @@ if ( ! class_exists( 'UM_Functions' ) ) {
|
||||
}
|
||||
|
||||
$path = '';
|
||||
if( $basename ) {
|
||||
if ( $basename ) {
|
||||
$array = explode( '/', trim( $basename, '/' ) );
|
||||
$path = $array[0];
|
||||
}
|
||||
@@ -279,8 +279,8 @@ if ( ! class_exists( 'UM_Functions' ) ) {
|
||||
trailingslashit( 'ultimate-member/' . $path ) . $template_name
|
||||
) );
|
||||
|
||||
if( !$template ) {
|
||||
if( $path ) {
|
||||
if ( ! $template ) {
|
||||
if ( $path ) {
|
||||
$template = trailingslashit( trailingslashit( WP_PLUGIN_DIR ) . $path );
|
||||
} else {
|
||||
$template = trailingslashit( um_path );
|
||||
|
||||
Reference in New Issue
Block a user