mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 14:13:46 +09:00
- fixed loop in profile tabs init;
- fixed order by display name;
This commit is contained in:
@@ -286,13 +286,6 @@ if ( ! class_exists( 'um\core\External_Integrations' ) ) {
|
||||
if ( function_exists( 'icl_get_current_language' ) && icl_get_current_language() != icl_get_default_language() ) {
|
||||
$url = $this->get_url_for_language( UM()->config()->permalinks[ $slug ], icl_get_current_language() );
|
||||
|
||||
/*if ( get_post_meta( get_the_ID(), '_um_wpml_account', true ) == 1 ) {
|
||||
$url = get_permalink( get_the_ID() );
|
||||
}
|
||||
if ( get_post_meta( get_the_ID(), '_um_wpml_user', true ) == 1 ) {
|
||||
$url = $this->get_url_for_language( UM()->config()->permalinks[ $slug ], icl_get_current_language() );
|
||||
}*/
|
||||
|
||||
if ( $updated ) {
|
||||
$url = add_query_arg( 'updated', esc_attr( $updated ), $url );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user