mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- removed Google+, VKonakte but leaves these custom fields as just URL type with Website URL validation;
- added 2.6.0 version upgrade script for changing 'vk_url', 'google_url', 'googleplus_url' just to 'url' validate value; - close #1145;
This commit is contained in:
@@ -949,24 +949,6 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
||||
'match' => 'https://linkedin.com/',
|
||||
),
|
||||
|
||||
'googleplus' => array(
|
||||
'title' => __('Google+','ultimate-member'),
|
||||
'metakey' => 'googleplus',
|
||||
'type' => 'url',
|
||||
'label' => __('Google+','ultimate-member'),
|
||||
'required' => 0,
|
||||
'public' => 1,
|
||||
'editable' => 1,
|
||||
'url_target' => '_blank',
|
||||
'url_rel' => 'nofollow',
|
||||
'icon' => 'um-faicon-google-plus',
|
||||
'validate' => 'google_url',
|
||||
'url_text' => 'Google+',
|
||||
'advanced' => 'social',
|
||||
'color' => '#dd4b39',
|
||||
'match' => 'https://google.com/+',
|
||||
),
|
||||
|
||||
'instagram' => array(
|
||||
'title' => __('Instagram','ultimate-member'),
|
||||
'metakey' => 'instagram',
|
||||
@@ -1150,24 +1132,6 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
||||
'match' => 'https://soundcloud.com/',
|
||||
),
|
||||
|
||||
'vkontakte' => array(
|
||||
'title' => __('VKontakte','ultimate-member'),
|
||||
'metakey' => 'vkontakte',
|
||||
'type' => 'url',
|
||||
'label' => __('VKontakte','ultimate-member'),
|
||||
'required' => 0,
|
||||
'public' => 1,
|
||||
'editable' => 1,
|
||||
'url_target' => '_blank',
|
||||
'url_rel' => 'nofollow',
|
||||
'icon' => 'um-faicon-vk',
|
||||
'validate' => 'vk_url',
|
||||
'url_text' => 'VKontakte',
|
||||
'advanced' => 'social',
|
||||
'color' => '#2B587A',
|
||||
'match' => 'https://vk.com/',
|
||||
),
|
||||
|
||||
'role_select' => array(
|
||||
'title' => __('Roles (Dropdown)','ultimate-member'),
|
||||
'metakey' => 'role_select',
|
||||
@@ -1522,10 +1486,8 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
||||
$array['alpha_numeric'] = __('Alpha-numeric value','ultimate-member');
|
||||
$array['english'] = __('English letters only','ultimate-member');
|
||||
$array['facebook_url'] = __('Facebook URL','ultimate-member');
|
||||
$array['google_url'] = __('Google+ URL','ultimate-member');
|
||||
$array['instagram_url'] = __('Instagram URL','ultimate-member');
|
||||
$array['linkedin_url'] = __('LinkedIn URL','ultimate-member');
|
||||
$array['vk_url'] = __('VKontakte URL','ultimate-member');
|
||||
$array['lowercase'] = __('Lowercase only','ultimate-member');
|
||||
$array['numeric'] = __('Numeric value only','ultimate-member');
|
||||
$array['phone_number'] = __('Phone Number','ultimate-member');
|
||||
|
||||
Reference in New Issue
Block a user