mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
* using wp_is_mobile instead of MobileDetect library
This commit is contained in:
@@ -75,7 +75,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<?php if ( UM()->mobile()->isMobile() ) { ?>
|
||||
<?php if ( wp_is_mobile() ) { ?>
|
||||
|
||||
<div class="um-account-meta-img-b uimob800-show" title="<?php echo esc_attr( um_user( 'display_name' ) ); ?>">
|
||||
<a href="<?php echo esc_url( um_user_profile_url() ); ?>">
|
||||
@@ -114,7 +114,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
?>
|
||||
<li>
|
||||
<a data-tab="<?php echo esc_attr( $id )?>" href="<?php echo esc_url( UM()->account()->tab_link( $id ) ); ?>" class="um-account-link <?php if ( $id == UM()->account()->current_tab ) echo 'current'; ?>">
|
||||
<?php if ( UM()->mobile()->isMobile() ) { ?>
|
||||
<?php if ( wp_is_mobile() ) { ?>
|
||||
<span class="um-account-icontip uimob800-show" title="<?php echo esc_attr( $info['title'] ); ?>">
|
||||
<i class="<?php echo esc_attr( $info['icon'] ); ?>"></i>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user