mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
temp
This commit is contained in:
@@ -38,6 +38,7 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
|
||||
'groups' => '2.0',
|
||||
'instagram' => '2.0',
|
||||
'invitations' => '2.0',
|
||||
'frontend-posting' => '1.0',
|
||||
'mailchimp' => '2.0.1',
|
||||
'messaging' => '2.0.5',
|
||||
'mycred' => '2.0',
|
||||
|
||||
@@ -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