mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
temp
This commit is contained in:
@@ -438,7 +438,7 @@ if ( ! class_exists( 'UM' ) ) {
|
||||
$array = explode( '\\', strtolower( $class ) );
|
||||
$array[ count( $array ) - 1 ] = 'class-'. end( $array );
|
||||
if ( strpos( $class, 'um_ext' ) === 0 ) {
|
||||
$full_path = str_replace( 'ultimate-member', '', rtrim( um_path, '/' ) ) . str_replace( '_', '-', $array[1] ) . '/includes/';
|
||||
$full_path = str_replace( 'ultimate-member', '', untrailingslashit( um_path ) ) . str_replace( '_', '-', $array[1] ) . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR;
|
||||
unset( $array[0], $array[1] );
|
||||
$path = implode( DIRECTORY_SEPARATOR, $array );
|
||||
$path = str_replace( '_', '-', $path );
|
||||
|
||||
Reference in New Issue
Block a user