mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- WPCS for defined constants;
* um_url -> UM_URL * um_path -> UM_PATH * um_plugin -> UM_PLUGIN * ultimatemember_version -> UM_VERSION * ultimatemember_plugin_name -> UM_PLUGIN_NAME
This commit is contained in:
@@ -302,7 +302,7 @@ if ( ! class_exists( 'UM_Functions' ) ) {
|
||||
if ( $path ) {
|
||||
$template = trailingslashit( trailingslashit( WP_PLUGIN_DIR ) . $path );
|
||||
} else {
|
||||
$template = trailingslashit( um_path );
|
||||
$template = trailingslashit( UM_PATH );
|
||||
}
|
||||
$template .= 'templates' . DIRECTORY_SEPARATOR . $template_name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user