mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 22:23:37 +09:00
Merge pull request #1139 from ultimatemember/fix/role_profile_noindex
Avoid indexing profile by search engines
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
'0' => __( 'No', 'ultimate-member' ),
|
||||
'1' => __( 'Yes', 'ultimate-member' ),
|
||||
],
|
||||
'value' => ! empty( $role['_um_profile_noindex'] ) ? $role['_um_profile_noindex'] : '',
|
||||
'value' => array_key_exists( '_um_profile_noindex', $role ) ? $role['_um_profile_noindex'] : '',
|
||||
)
|
||||
)
|
||||
) )->render_form(); ?>
|
||||
|
||||
Reference in New Issue
Block a user