Ultimate Member – User Profile & Membership Plugin - Version 2.0.32

Version Description

Download this release

Release Info

Developer nsinelnikov
Plugin Icon 128x128 Ultimate Member – User Profile & Membership Plugin
Version 2.0.32
Comparing to
See all releases

Code changes from version 2.0.31 to 2.0.32

assets/dynamic_css/dynamic_global.php CHANGED
@@ -7,7 +7,7 @@ print ".um-$form_id.um {
7
}";
8
}
9
10
- if ( isset( $align ) && in_array( $align, ['left', 'right'] ) ) {
11
print ".um-$form_id.um {
12
margin-$align: 0px !important;
13
}";
7
}";
8
}
9
10
+ if ( isset( $align ) && in_array( $align, array( 'left', 'right' ) ) ) {
11
print ".um-$form_id.um {
12
margin-$align: 0px !important;
13
}";
includes/admin/class-admin.php CHANGED
@@ -37,7 +37,6 @@ if ( ! class_exists( 'um\admin\Admin' ) ) {
37
add_action( 'um_admin_do_action__purge_temp', array( &$this, 'purge_temp' ) );
38
add_action( 'um_admin_do_action__manual_upgrades_request', array( &$this, 'manual_upgrades_request' ) );
39
add_action( 'um_admin_do_action__duplicate_form', array( &$this, 'duplicate_form' ) );
40
- add_action( 'um_admin_do_action__um_language_downloader', array( &$this, 'um_language_downloader' ) );
41
add_action( 'um_admin_do_action__um_hide_locale_notice', array( &$this, 'um_hide_notice' ) );
42
add_action( 'um_admin_do_action__um_can_register_notice', array( &$this, 'um_hide_notice' ) );
43
add_action( 'um_admin_do_action__um_hide_exif_notice', array( &$this, 'um_hide_notice' ) );
@@ -209,41 +208,6 @@ if ( ! class_exists( 'um\admin\Admin' ) ) {
209
}
210
211
212
- /**
213
- * Download a language remotely
214
- *
215
- * @param $action
216
- */
217
- function um_language_downloader( $action ) {
218
- if ( !is_admin() || !current_user_can('manage_options') ) die();
219
-
220
- $locale = get_option('WPLANG');
221
- if ( !$locale ) return;
222
- if ( !isset( UM()->available_languages[$locale] ) ) return;
223
-
224
- $path = UM()->files()->upload_basedir;
225
- $path = str_replace('/uploads/ultimatemember','',$path);
226
- $path = $path . '/languages/plugins/';
227
- $path = str_replace('//','/',$path);
228
-
229
- $remote = 'https://ultimatemember.com/wp-content/languages/plugins/ultimatemember-' . $locale . '.po';
230
- $remote2 = 'https://ultimatemember.com/wp-content/languages/plugins/ultimatemember-' . $locale . '.mo';
231
-
232
- $remote_tmp = download_url( $remote, $timeout = 300 );
233
- copy( $remote_tmp, $path . 'ultimatemember-' . $locale . '.po' );
234
- unlink( $remote_tmp );
235
-
236
- $remote2_tmp = download_url( $remote2, $timeout = 300 );
237
- copy( $remote2_tmp, $path . 'ultimatemember-' . $locale . '.mo' );
238
- unlink( $remote2_tmp );
239
-
240
- $url = remove_query_arg('um_adm_action', UM()->permalinks()->get_current_url() );
241
- $url = add_query_arg('update','language_updated',$url);
242
- exit( wp_redirect($url) );
243
-
244
- }
245
-
246
-
247
/**
248
* Action to hide notices in admin
249
*
37
add_action( 'um_admin_do_action__purge_temp', array( &$this, 'purge_temp' ) );
38
add_action( 'um_admin_do_action__manual_upgrades_request', array( &$this, 'manual_upgrades_request' ) );
39
add_action( 'um_admin_do_action__duplicate_form', array( &$this, 'duplicate_form' ) );
40
add_action( 'um_admin_do_action__um_hide_locale_notice', array( &$this, 'um_hide_notice' ) );
41
add_action( 'um_admin_do_action__um_can_register_notice', array( &$this, 'um_hide_notice' ) );
42
add_action( 'um_admin_do_action__um_hide_exif_notice', array( &$this, 'um_hide_notice' ) );
208
}
209
210
211
/**
212
* Action to hide notices in admin
213
*
includes/admin/core/class-admin-menu.php CHANGED
@@ -215,14 +215,6 @@ if ( ! class_exists( 'um\admin\core\Admin_Menu' ) ) {
215
216
add_meta_box( 'um-metaboxes-sidebox-2', __( 'User Cache', 'ultimate-member' ), array( &$this, 'user_cache' ), $this->pagehook, 'side', 'core' );
217
218
- if ( $this->language_avaialable_not_installed() ) {
219
- add_meta_box( 'um-metaboxes-sidebox-2', __( 'Language', 'ultimate-member' ), array( &$this, 'dl_language' ), $this->pagehook, 'side', 'core' );
220
- } else if ( $this->language_avaialable_installed() ) {
221
- add_meta_box( 'um-metaboxes-sidebox-2', __( 'Language', 'ultimate-member' ), array( &$this, 'up_language' ), $this->pagehook, 'side', 'core' );
222
- } else if ( $this->language_not_available() ) {
223
- add_meta_box( 'um-metaboxes-sidebox-2', __( 'Language', 'ultimate-member' ), array( &$this, 'ct_language' ), $this->pagehook, 'side', 'core' );
224
- }
225
-
226
//If there are active and licensed extensions - show metabox for upgrade it
227
$exts = UM()->plugin_updater()->um_get_active_plugins();
228
if ( 0 < count( $exts ) ) {
@@ -231,33 +223,6 @@ if ( ! class_exists( 'um\admin\core\Admin_Menu' ) ) {
231
}
232
233
234
- /**
235
- *
236
- */
237
- function up_language() {
238
- $locale = get_option('WPLANG');
239
- include_once UM()->admin()->templates_path . 'dashboard/language-update.php';
240
- }
241
-
242
-
243
- /**
244
- *
245
- */
246
- function dl_language() {
247
- $locale = get_option('WPLANG');
248
- include_once UM()->admin()->templates_path . 'dashboard/language-download.php';
249
- }
250
-
251
-
252
- /**
253
- *
254
- */
255
- function ct_language() {
256
- $locale = get_option('WPLANG');
257
- include_once UM()->admin()->templates_path . 'dashboard/language-contrib.php';
258
- }
259
-
260
-
261
/**
262
*
263
*/
@@ -298,45 +263,6 @@ if ( ! class_exists( 'um\admin\core\Admin_Menu' ) ) {
298
}
299
300
301
- /**
302
- * Language not available
303
- *
304
- * @return bool
305
- */
306
- function language_not_available() {
307
- $locale = get_option( 'WPLANG' );
308
- if ( $locale && !strstr($locale, 'en_') && !isset( UM()->available_languages[$locale] ) && !file_exists( WP_LANG_DIR . '/plugins/ultimatemember-' . $locale . '.mo' ) )
309
- return true;
310
- return false;
311
- }
312
-
313
-
314
- /**
315
- * Language available but not installed
316
- *
317
- * @return bool
318
- */
319
- function language_avaialable_not_installed() {
320
- $locale = get_option('WPLANG');
321
- if ( $locale && isset( UM()->available_languages[$locale] ) && !file_exists( WP_LANG_DIR . '/plugins/ultimatemember-' . $locale . '.mo' ) )
322
- return true;
323
- return false;
324
- }
325
-
326
-
327
- /**
328
- * Language available and installed
329
- *
330
- * @return bool
331
- */
332
- function language_avaialable_installed() {
333
- $locale = get_option('WPLANG');
334
- if ( $locale && isset( UM()->available_languages[$locale] ) && file_exists( WP_LANG_DIR . '/plugins/ultimatemember-' . $locale . '.mo' ) )
335
- return true;
336
- return false;
337
- }
338
-
339
-
340
/**
341
* Get a directory size
342
*
215
216
add_meta_box( 'um-metaboxes-sidebox-2', __( 'User Cache', 'ultimate-member' ), array( &$this, 'user_cache' ), $this->pagehook, 'side', 'core' );
217
218
//If there are active and licensed extensions - show metabox for upgrade it
219
$exts = UM()->plugin_updater()->um_get_active_plugins();
220
if ( 0 < count( $exts ) ) {
223
}
224
225
226
/**
227
*
228
*/
263
}
264
265
266
/**
267
* Get a directory size
268
*
includes/admin/core/class-admin-notices.php CHANGED
@@ -38,7 +38,6 @@ if ( ! class_exists( 'um\admin\core\Admin_Notices' ) ) {
38
$this->old_extensions_notice();
39
$this->install_core_page_notice();
40
$this->exif_extension_notice();
41
- $this->localize_note();
42
$this->show_update_messages();
43
$this->check_wrong_install_folder();
44
$this->admin_notice_opt_in();
@@ -358,45 +357,6 @@ if ( ! class_exists( 'um\admin\core\Admin_Notices' ) ) {
358
}
359
360
361
- /**
362
- * Localization notice
363
- */
364
- function localize_note() {
365
- $locale = get_option( 'WPLANG' );
366
- if ( ! $locale || strstr( $locale, 'en_' ) ) {
367
- return;
368
- }
369
-
370
- if ( file_exists( WP_LANG_DIR . '/plugins/ultimatemember-' . $locale . '.mo' ) ) {
371
- return;
372
- }
373
-
374
- $hide_locale_notice = get_option( 'um_hide_locale_notice' );
375
- if ( $hide_locale_notice ) {
376
- return;
377
- }
378
-
379
- if ( isset( UM()->available_languages[ $locale ] ) ) {
380
-
381
- $download_uri = add_query_arg( 'um_adm_action', 'um_language_downloader' );
382
-
383
- $this->add_notice( 'locale', array(
384
- 'class' => 'updated',
385
- 'message' => '<p>' . sprintf( __( 'Your site language is <strong>%1$s</strong>. Good news! Ultimate Member is already available in <strong>%2$s language</strong>. <a href="%3$s">Download the translation</a> files and start using the plugin in your language now. <a href="%4$s">Hide this notice</a>','ultimate-member'), $locale, UM()->available_languages[ $locale ], $download_uri, add_query_arg( 'um_adm_action', 'um_hide_locale_notice' ) ) . '</p>',
386
- ), 40 );
387
-
388
- } else {
389
-
390
- $this->add_notice( 'locale', array(
391
- 'class' => 'updated',
392
- 'message' => '<p>' . sprintf( __( 'Ultimate Member has not yet been translated to your language: <strong>%1$s</strong>. If you have translated the plugin you need put these files <code>ultimatemember-%1$s.po and ultimatemember-%1$s.mo</code> in <strong>/wp-content/languages/plugins/</strong> for the plugin to be translated in your language. <a href="%2$s">Hide this notice</a>', 'ultimate-member' ), $locale, add_query_arg( 'um_adm_action', 'um_hide_locale_notice' ) ) . '</p>',
393
- ), 40 );
394
-
395
- }
396
-
397
- }
398
-
399
-
400
/**
401
* Updating users
402
*/
38
$this->old_extensions_notice();
39
$this->install_core_page_notice();
40
$this->exif_extension_notice();
41
$this->show_update_messages();
42
$this->check_wrong_install_folder();
43
$this->admin_notice_opt_in();
357
}
358
359
360
/**
361
* Updating users
362
*/
includes/admin/core/class-admin-settings.php CHANGED
@@ -1061,19 +1061,25 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
1061
*/
1062
function sorting_licenses_options( $settings ) {
1063
//sorting licenses
1064
- if ( empty( $settings['licenses']['fields'] ) )
1065
return $settings;
1066
$licenses = $settings['licenses']['fields'];
1067
- @uasort( $licenses, create_function( '$a,$b', 'return strnatcasecmp($a["label"],$b["label"]);' ) );
1068
$settings['licenses']['fields'] = $licenses;
1069
1070
-
1071
//sorting extensions
1072
- if ( empty( $settings['extensions']['sections'] ) )
1073
return $settings;
1074
1075
$extensions = $settings['extensions']['sections'];
1076
- @uasort( $extensions, create_function( '$a,$b', 'return strnatcasecmp($a["title"],$b["title"]);' ) );
1077
1078
$keys = array_keys( $extensions );
1079
if ( $keys[0] != "" ) {
@@ -1082,7 +1088,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
1082
$extensions[$new_key] = $temp;
1083
$extensions[""] = $extensions[$keys[0]];
1084
unset( $extensions[$keys[0]] );
1085
- @uasort( $extensions, create_function( '$a,$b', 'return strnatcasecmp($a["title"],$b["title"]);' ) );
1086
}
1087
1088
$settings['extensions']['sections'] = $extensions;
@@ -1099,13 +1107,14 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
1099
*/
1100
function get_section_fields( $tab, $section ) {
1101
1102
- if ( empty( $this->settings_structure[$tab] ) )
1103
return array();
1104
1105
- if ( ! empty( $this->settings_structure[$tab]['sections'][$section]['fields'] ) ) {
1106
- return $this->settings_structure[$tab]['sections'][$section]['fields'];
1107
- } elseif ( ! empty( $this->settings_structure[$tab]['fields'] ) ) {
1108
- return $this->settings_structure[$tab]['fields'];
1109
}
1110
1111
return array();
1061
*/
1062
function sorting_licenses_options( $settings ) {
1063
//sorting licenses
1064
+ if ( empty( $settings['licenses']['fields'] ) ) {
1065
return $settings;
1066
+ }
1067
+
1068
$licenses = $settings['licenses']['fields'];
1069
+ @uasort( $licenses, function( $a, $b ) {
1070
+ return strnatcasecmp( $a["label"], $b["label"] );
1071
+ } );
1072
$settings['licenses']['fields'] = $licenses;
1073
1074
//sorting extensions
1075
+ if ( empty( $settings['extensions']['sections'] ) ) {
1076
return $settings;
1077
+ }
1078
1079
$extensions = $settings['extensions']['sections'];
1080
+ @uasort( $extensions, function( $a, $b ) {
1081
+ return strnatcasecmp( $a["title"], $b["title"] );
1082
+ } );
1083
1084
$keys = array_keys( $extensions );
1085
if ( $keys[0] != "" ) {
1088
$extensions[$new_key] = $temp;
1089
$extensions[""] = $extensions[$keys[0]];
1090
unset( $extensions[$keys[0]] );
1091
+ @uasort( $extensions, function( $a, $b ) {
1092
+ return strnatcasecmp( $a["title"], $b["title"] );
1093
+ } );
1094
}
1095
1096
$settings['extensions']['sections'] = $extensions;
1107
*/
1108
function get_section_fields( $tab, $section ) {
1109
1110
+ if ( empty( $this->settings_structure[ $tab ] ) ) {
1111
return array();
1112
+ }
1113
1114
+ if ( ! empty( $this->settings_structure[ $tab ]['sections'][ $section ]['fields'] ) ) {
1115
+ return $this->settings_structure[ $tab ]['sections'][ $section ]['fields'];
1116
+ } elseif ( ! empty( $this->settings_structure[ $tab ]['fields'] ) ) {
1117
+ return $this->settings_structure[ $tab ]['fields'];
1118
}
1119
1120
return array();
includes/admin/core/class-admin-upgrade.php CHANGED
@@ -350,36 +350,6 @@ if ( ! class_exists( 'um\admin\core\Admin_Upgrade' ) ) {
350
wp_send_json_success( array( 'packages' => $update_versions ) );
351
}
352
353
- /**
354
- * Load packages
355
- */
356
- /*public function packages() {
357
- if ( ! ini_get( 'safe_mode' ) ) {
358
- @set_time_limit(0);
359
- }
360
-
361
- $this->set_update_versions();
362
-
363
- $um_last_version_upgrade = get_option( 'um_last_version_upgrade' );
364
- $um_last_version_upgrade = ! $um_last_version_upgrade ? '0.0.0' : $um_last_version_upgrade;
365
-
366
- foreach ( $this->update_versions as $update_version ) {
367
-
368
- if ( version_compare( $update_version, $um_last_version_upgrade, '<=' ) )
369
- continue;
370
-
371
- if ( version_compare( $update_version, ultimatemember_version, '>' ) )
372
- continue;
373
-
374
- $file_path = $this->packages_dir . $update_version . '.php';
375
-
376
- if ( file_exists( $file_path ) ) {
377
- include_once( $file_path );
378
- update_option( 'um_last_version_upgrade', $update_version );
379
- }
380
- }
381
- }*/
382
-
383
384
/**
385
* Parse packages dir for packages files
350
wp_send_json_success( array( 'packages' => $update_versions ) );
351
}
352
353
354
/**
355
* Parse packages dir for packages files
includes/admin/templates/dashboard/language-download.php DELETED
@@ -1,9 +0,0 @@
1
- <p>
2
- <?php printf( __( 'Ultimate Member is available in your language: <strong>%1$s (%2$s)</strong>.', 'ultimate-member' ), UM()->available_languages[ $locale ], $locale ); ?>
3
- </p>
4
-
5
- <p>
6
- <a href="<?php echo add_query_arg( 'um_adm_action', 'um_language_downloader' ); ?>" class="button">
7
- <?php _e( 'Download Translation', 'ultimate-member' ); ?>
8
- </a>
9
- </p>
includes/admin/templates/dashboard/language-update.php DELETED
@@ -1,9 +0,0 @@
1
- <p>
2
- <?php printf( __( 'You are currently using Ultimate Member in your language: <strong>%1$s (%2$s)</strong>.', 'ultimate-member' ), UM()->available_languages[ $locale ], $locale ); ?>
3
- </p>
4
-
5
- <p>
6
- <a href="<?php echo add_query_arg( 'um_adm_action', 'um_language_downloader' ); ?>" class="button">
7
- <?php _e( 'Force Update Translation', 'ultimate-member' ); ?>
8
- </a>
9
- </p>
includes/admin/templates/extensions.php CHANGED
@@ -162,11 +162,11 @@ $free['terms-conditions'] = array(
162
163
<div class="wp-filter um-admin-notice um-filter">
164
<div class="alignleft">
165
- <strong>Core Extensions Bundle</strong> – Check out our extensions bundle which includes all extensions at a significant discount.
166
</div>
167
<div class="alignright">
168
- <a href="https://ultimatemember.com/core-extensions-bundle/" class="button button-primary" target="_blank">
169
- <?php _e( 'View our Extensions Bundle', 'ultimate-member' ) ?>
170
</a>
171
</div>
172
</div>
162
163
<div class="wp-filter um-admin-notice um-filter">
164
<div class="alignleft">
165
+ <?php _e( '<strong>All Access Pass</strong> – Get access to all Ultimate Member extensions at a significant discount with our All Access Pass.', 'ultimate-member' ) ?>
166
</div>
167
<div class="alignright">
168
+ <a href="https://ultimatemember.com/pricing/" class="button button-primary" target="_blank">
169
+ <?php _e( 'View Pricing', 'ultimate-member' ) ?>
170
</a>
171
</div>
172
</div>
includes/class-init.php CHANGED
@@ -65,14 +65,6 @@ if ( ! class_exists( 'UM' ) ) {
65
public $is_permalinks;
66
67
68
- /**
69
- * UM Available Languages
70
- *
71
- * @var array
72
- */
73
- var $available_languages;
74
-
75
-
76
/**
77
* Main UM Instance
78
*
@@ -198,31 +190,6 @@ if ( ! class_exists( 'UM' ) ) {
198
$this->is_filtering = 0;
199
$this->honeypot = 'request';
200
201
- $this->available_languages = array(
202
- 'en_US' => 'English (US)',
203
- 'es_ES' => 'Español',
204
- 'es_MX' => 'Español (México)',
205
- 'fr_FR' => 'Français',
206
- 'it_IT' => 'Italiano',
207
- 'de_DE' => 'Deutsch',
208
- 'nl_NL' => 'Nederlands',
209
- 'pt_BR' => 'Português do Brasil',
210
- 'fi_FI' => 'Suomi',
211
- 'ro_RO' => 'Română',
212
- 'da_DK' => 'Dansk',
213
- 'sv_SE' => 'Svenska',
214
- 'pl_PL' => 'Polski',
215
- 'cs_CZ' => 'Czech',
216
- 'el' => 'Greek',
217
- 'id_ID' => 'Indonesian',
218
- 'zh_CN' => '简体中文',
219
- 'ru_RU' => 'Русский',
220
- 'tr_TR' => 'Türkçe',
221
- 'fa_IR' => 'Farsi',
222
- 'he_IL' => 'Hebrew',
223
- 'ar' => 'العربية',
224
- );
225
-
226
// textdomain loading
227
$this->localize();
228
65
public $is_permalinks;
66
67
68
/**
69
* Main UM Instance
70
*
190
$this->is_filtering = 0;
191
$this->honeypot = 'request';
192
193
// textdomain loading
194
$this->localize();
195
includes/core/class-files.php CHANGED
@@ -81,11 +81,11 @@ if ( ! class_exists( 'um\core\Files' ) ) {
81
$field_key = urlencode( $field_key );
82
83
if ( UM()->is_permalinks ) {
84
- $url = get_site_url( get_current_blog_id() );
85
$nonce = wp_create_nonce( $user_id . $form_id . 'um-download-nonce' );
86
$url = $url . "/um-download/{$form_id}/{$field_key}/{$user_id}/{$nonce}";
87
} else {
88
- $url = get_site_url( get_current_blog_id() );
89
$nonce = wp_create_nonce( $user_id . $form_id . 'um-download-nonce' );
90
$url = add_query_arg( array( 'um_action' => 'download', 'um_form' => $form_id, 'um_field' => $field_key, 'um_user' => $user_id, 'um_verify' => $nonce ), $url );
91
}
@@ -241,8 +241,6 @@ if ( ! class_exists( 'um\core\Files' ) ) {
241
* Remove file by AJAX
242
*/
243
function ajax_remove_file() {
244
- UM()->check_frontend_ajax_nonce();
245
-
246
/**
247
* @var $src
248
*/
@@ -257,8 +255,6 @@ if ( ! class_exists( 'um\core\Files' ) ) {
257
* Resize image AJAX handler
258
*/
259
function ajax_resize_image() {
260
- UM()->check_frontend_ajax_nonce();
261
-
262
/**
263
* @var $key
264
* @var $src
81
$field_key = urlencode( $field_key );
82
83
if ( UM()->is_permalinks ) {
84
+ $url = get_home_url( get_current_blog_id() );
85
$nonce = wp_create_nonce( $user_id . $form_id . 'um-download-nonce' );
86
$url = $url . "/um-download/{$form_id}/{$field_key}/{$user_id}/{$nonce}";
87
} else {
88
+ $url = get_home_url( get_current_blog_id() );
89
$nonce = wp_create_nonce( $user_id . $form_id . 'um-download-nonce' );
90
$url = add_query_arg( array( 'um_action' => 'download', 'um_form' => $form_id, 'um_field' => $field_key, 'um_user' => $user_id, 'um_verify' => $nonce ), $url );
91
}
241
* Remove file by AJAX
242
*/
243
function ajax_remove_file() {
244
/**
245
* @var $src
246
*/
255
* Resize image AJAX handler
256
*/
257
function ajax_resize_image() {
258
/**
259
* @var $key
260
* @var $src
includes/core/um-actions-misc.php CHANGED
@@ -12,33 +12,30 @@ function um_browser_url_redirect_to( $args ) {
12
$url = '';
13
14
if ( ! empty( $_REQUEST['redirect_to'] ) ) {
15
$url = $_REQUEST['redirect_to'];
16
- echo '<input type="hidden" name="redirect_to" id="redirect_to" value="'.esc_url( $url ).'" />';
17
18
} elseif ( ! empty( $args['after_login'] ) ) {
19
-
20
switch ( $args['after_login'] ) {
21
-
22
case 'redirect_admin':
23
$url = admin_url();
24
break;
25
-
26
case 'redirect_profile':
27
$url = um_user_profile_url();
28
break;
29
-
30
case 'redirect_url':
31
$url = $args['redirect_url'];
32
break;
33
-
34
- case 'refresh':
35
36
$url = UM()->permalinks()->get_current_url();
37
-
38
break;
39
-
40
}
41
-
42
}
43
44
/**
@@ -66,7 +63,6 @@ function um_browser_url_redirect_to( $args ) {
66
if ( ! empty( $url ) ) {
67
echo '<input type="hidden" name="redirect_to" id="redirect_to" value="' . esc_url( $url ) . '" />';
68
}
69
-
70
}
71
add_action( 'um_after_form_fields', 'um_browser_url_redirect_to' );
72
12
$url = '';
13
14
if ( ! empty( $_REQUEST['redirect_to'] ) ) {
15
+
16
$url = $_REQUEST['redirect_to'];
17
18
} elseif ( ! empty( $args['after_login'] ) ) {
19
+
20
switch ( $args['after_login'] ) {
21
+
22
case 'redirect_admin':
23
$url = admin_url();
24
break;
25
+
26
case 'redirect_profile':
27
$url = um_user_profile_url();
28
break;
29
+
30
case 'redirect_url':
31
$url = $args['redirect_url'];
32
break;
33
34
+ case 'refresh':
35
$url = UM()->permalinks()->get_current_url();
36
break;
37
+
38
}
39
}
40
41
/**
63
if ( ! empty( $url ) ) {
64
echo '<input type="hidden" name="redirect_to" id="redirect_to" value="' . esc_url( $url ) . '" />';
65
}
66
}
67
add_action( 'um_after_form_fields', 'um_browser_url_redirect_to' );
68
includes/um-short-functions.php CHANGED
@@ -439,27 +439,25 @@ function um_redirect_home() {
439
* @param $url
440
*/
441
function um_js_redirect( $url ) {
442
- if (headers_sent() || empty( $url )) {
443
//for blank redirects
444
- if ('' == $url) {
445
$url = set_url_scheme( '//' . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"] );
446
}
447
448
- $funtext = "echo \"<script data-cfasync='false' type='text/javascript'>window.location = '" . $url . "'</script>\";";
449
- register_shutdown_function( create_function( '', $funtext ) );
450
451
- if (1 < ob_get_level()) {
452
- while (ob_get_level() > 1) {
453
ob_end_clean();
454
}
455
- }
456
-
457
- ?>
458
- <script data-cfasync='false' type="text/javascript">
459
- window.location = '<?php echo $url; ?>';
460
- </script>
461
- <?php
462
- exit;
463
} else {
464
wp_redirect( $url );
465
}
@@ -1457,6 +1455,7 @@ function um_multi_admin_email() {
1457
$emails_array = array_map( 'trim', $emails_array );
1458
}
1459
1460
return $emails_array;
1461
}
1462
@@ -2509,7 +2508,5 @@ function is_ultimatemember() {
2509
* Maybe set empty time limit
2510
*/
2511
function um_maybe_unset_time_limit() {
2512
- if ( ! ini_get( 'safe_mode' ) ) {
2513
- @set_time_limit(0);
2514
- }
2515
}
439
* @param $url
440
*/
441
function um_js_redirect( $url ) {
442
+ if ( headers_sent() || empty( $url ) ) {
443
//for blank redirects
444
+ if ( '' == $url ) {
445
$url = set_url_scheme( '//' . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"] );
446
}
447
448
+ register_shutdown_function( function( $url ) {
449
+ echo '<script data-cfasync="false" type="text/javascript">window.location = "' . $url . '"</script>';
450
+ }, $url );
451
452
+ if ( 1 < ob_get_level() ) {
453
+ while ( ob_get_level() > 1 ) {
454
ob_end_clean();
455
}
456
+ } ?>
457
+ <script data-cfasync='false' type="text/javascript">
458
+ window.location = '<?php echo $url; ?>';
459
+ </script>
460
+ <?php exit;
461
} else {
462
wp_redirect( $url );
463
}
1455
$emails_array = array_map( 'trim', $emails_array );
1456
}
1457
1458
+ $emails_array = array_unique( $emails_array );
1459
return $emails_array;
1460
}
1461
2508
* Maybe set empty time limit
2509
*/
2510
function um_maybe_unset_time_limit() {
2511
+ @set_time_limit( 0 );
2512
}
languages/ultimate-member-en_US.mo CHANGED
Binary file
languages/ultimate-member-en_US.po CHANGED
@@ -1,8 +1,8 @@
1
msgid ""
2
msgstr ""
3
"Project-Id-Version: Ultimate Member\n"
4
- "POT-Creation-Date: 2018-11-14 11:06+0200\n"
5
- "PO-Revision-Date: 2018-11-14 11:06+0200\n"
6
"Last-Translator: \n"
7
"Language-Team: \n"
8
"Language: en_US\n"
@@ -21,53 +21,53 @@ msgstr ""
21
"X-Poedit-SearchPath-0: .\n"
22
"X-Poedit-SearchPathExcluded-0: *.js\n"
23
24
- #: includes/admin/class-admin.php:182
25
#, php-format
26
msgid "Duplicate of %s"
27
msgstr ""
28
29
- #: includes/admin/class-admin.php:331
30
msgid "Docs"
31
msgstr ""
32
33
- #: includes/admin/class-admin.php:332
34
- #: includes/admin/core/class-admin-settings.php:1119
35
msgid "Settings"
36
msgstr ""
37
38
- #: includes/admin/class-admin.php:403 includes/admin/class-admin.php:406
39
msgid "Form updated."
40
msgstr ""
41
42
- #: includes/admin/class-admin.php:404
43
msgid "Custom field updated."
44
msgstr ""
45
46
- #: includes/admin/class-admin.php:405
47
msgid "Custom field deleted."
48
msgstr ""
49
50
- #: includes/admin/class-admin.php:407
51
msgid "Form restored to revision."
52
msgstr ""
53
54
- #: includes/admin/class-admin.php:408
55
msgid "Form created."
56
msgstr ""
57
58
- #: includes/admin/class-admin.php:409
59
msgid "Form saved."
60
msgstr ""
61
62
- #: includes/admin/class-admin.php:410
63
msgid "Form submitted."
64
msgstr ""
65
66
- #: includes/admin/class-admin.php:411
67
msgid "Form scheduled."
68
msgstr ""
69
70
- #: includes/admin/class-admin.php:412
71
msgid "Form draft updated."
72
msgstr ""
73
@@ -248,7 +248,7 @@ msgstr ""
248
#: includes/admin/core/class-admin-forms.php:827
249
#: includes/admin/core/class-admin-forms.php:932
250
#: includes/admin/core/class-admin-forms.php:941
251
- #: includes/admin/core/class-admin-notices.php:430
252
#: includes/core/um-actions-profile.php:553
253
msgid "Remove"
254
msgstr ""
@@ -429,13 +429,7 @@ msgstr ""
429
msgid "User Cache"
430
msgstr ""
431
432
- #: includes/admin/core/class-admin-menu.php:219
433
#: includes/admin/core/class-admin-menu.php:221
434
- #: includes/admin/core/class-admin-menu.php:223
435
- msgid "Language"
436
- msgstr ""
437
-
438
- #: includes/admin/core/class-admin-menu.php:229
439
msgid "Upgrade's Manual Request"
440
msgstr ""
441
@@ -1102,7 +1096,7 @@ msgstr ""
1102
msgid "Select the member roles that can see this link"
1103
msgstr ""
1104
1105
- #: includes/admin/core/class-admin-notices.php:280
1106
#, php-format
1107
msgid ""
1108
"<strong>%s %s</strong> requires 2.0 extensions. You have pre 2.0 extensions "
@@ -1110,31 +1104,31 @@ msgid ""
1110
"versions. For more info see this <a href=\"%s\" target=\"_blank\">doc</a>."
1111
msgstr ""
1112
1113
- #: includes/admin/core/class-admin-notices.php:301
1114
#, php-format
1115
msgid ""
1116
"%s needs to create several pages (User Profiles, Account, Registration, "
1117
"Login, Password Reset, Logout, Member Directory) to function correctly."
1118
msgstr ""
1119
1120
- #: includes/admin/core/class-admin-notices.php:305
1121
msgid "Create Pages"
1122
msgstr ""
1123
1124
- #: includes/admin/core/class-admin-notices.php:307
1125
- #: includes/admin/core/class-admin-notices.php:540
1126
msgid "No thanks"
1127
msgstr ""
1128
1129
- #: includes/admin/core/class-admin-notices.php:327
1130
msgid "Ultimate Member Setup Error: User page can not be a child page."
1131
msgstr ""
1132
1133
- #: includes/admin/core/class-admin-notices.php:337
1134
msgid "Ultimate Member Setup Error: Account page can not be a child page."
1135
msgstr ""
1136
1137
- #: includes/admin/core/class-admin-notices.php:355
1138
#, php-format
1139
msgid ""
1140
"Exif is not enabled on your server. Mobile photo uploads will not be rotated "
@@ -1142,88 +1136,69 @@ msgid ""
1142
"notice</a>"
1143
msgstr ""
1144
1145
- #: includes/admin/core/class-admin-notices.php:385
1146
- #, php-format
1147
- msgid ""
1148
- "Your site language is <strong>%1$s</strong>. Good news! Ultimate Member is "
1149
- "already available in <strong>%2$s language</strong>. <a href=\"%3$s"
1150
- "\">Download the translation</a> files and start using the plugin in your "
1151
- "language now. <a href=\"%4$s\">Hide this notice</a>"
1152
- msgstr ""
1153
-
1154
- #: includes/admin/core/class-admin-notices.php:392
1155
- #, php-format
1156
- msgid ""
1157
- "Ultimate Member has not yet been translated to your language: <strong>%1$s</"
1158
- "strong>. If you have translated the plugin you need put these files "
1159
- "<code>ultimatemember-%1$s.po and ultimatemember-%1$s.mo</code> in <strong>/"
1160
- "wp-content/languages/plugins/</strong> for the plugin to be translated in "
1161
- "your language. <a href=\"%2$s\">Hide this notice</a>"
1162
- msgstr ""
1163
-
1164
- #: includes/admin/core/class-admin-notices.php:429
1165
#, php-format
1166
msgid ""
1167
"Are you sure you want to delete the selected user(s)? The following users "
1168
"will be deleted: <p>%s</p> <strong>This cannot be undone!</strong>"
1169
msgstr ""
1170
1171
- #: includes/admin/core/class-admin-notices.php:430
1172
msgid "Undo"
1173
msgstr ""
1174
1175
- #: includes/admin/core/class-admin-notices.php:435
1176
msgid "Your translation files have been updated successfully."
1177
msgstr ""
1178
1179
- #: includes/admin/core/class-admin-notices.php:439
1180
msgid "Your temp uploads directory is now clean."
1181
msgstr ""
1182
1183
- #: includes/admin/core/class-admin-notices.php:443
1184
msgid "Your user cache is now removed."
1185
msgstr ""
1186
1187
- #: includes/admin/core/class-admin-notices.php:447
1188
msgid "You got the latest upgrades."
1189
msgstr ""
1190
1191
- #: includes/admin/core/class-admin-notices.php:451
1192
msgid "Try again later. You can run this action once daily."
1193
msgstr ""
1194
1195
- #: includes/admin/core/class-admin-notices.php:455
1196
msgid "The form has been duplicated successfully."
1197
msgstr ""
1198
1199
- #: includes/admin/core/class-admin-notices.php:459
1200
msgid "User has been updated."
1201
msgstr ""
1202
1203
- #: includes/admin/core/class-admin-notices.php:463
1204
msgid "Users have been updated."
1205
msgstr ""
1206
1207
- #: includes/admin/core/class-admin-notices.php:467
1208
msgid "Changed roles."
1209
msgstr ""
1210
1211
- #: includes/admin/core/class-admin-notices.php:471
1212
msgid "Super administrators cannot be modified."
1213
msgstr ""
1214
1215
- #: includes/admin/core/class-admin-notices.php:472
1216
msgid "Other users have been updated."
1217
msgstr ""
1218
1219
- #: includes/admin/core/class-admin-notices.php:509
1220
#, php-format
1221
msgid ""
1222
"You have installed <strong>%s</strong> with wrong folder name. Correct "
1223
"folder name is <strong>\"ultimate-member\"</strong>."
1224
msgstr ""
1225
1226
- #: includes/admin/core/class-admin-notices.php:534
1227
#, php-format
1228
msgid ""
1229
"Thanks for installing <strong>%s</strong>! We hope you like the plugin. To "
@@ -1232,12 +1207,12 @@ msgid ""
1232
"discount code for our <a href=\"%s\" target=\"_blank\">extensions bundle</a>."
1233
msgstr ""
1234
1235
- #: includes/admin/core/class-admin-notices.php:538
1236
#, php-format
1237
msgid "Claim 20% discount code"
1238
msgstr ""
1239
1240
- #: includes/admin/core/class-admin-notices.php:577
1241
#, php-format
1242
msgid ""
1243
"There are %d inactive %s license keys for this site. This site is not "
@@ -1245,14 +1220,14 @@ msgid ""
1245
"\">www.ultimatemember.com</a>."
1246
msgstr ""
1247
1248
- #: includes/admin/core/class-admin-notices.php:584
1249
#, php-format
1250
msgid ""
1251
"You have %d invalid or expired license keys for %s. Please go to the <a href="
1252
"\"%s\">Licenses page</a> to correct this issue."
1253
msgstr ""
1254
1255
- #: includes/admin/core/class-admin-notices.php:598
1256
#, php-format
1257
msgid ""
1258
"<strong>%s version %s</strong> needs to be updated to work correctly.<br /"
@@ -1261,35 +1236,35 @@ msgid ""
1261
"\"Upgrade\"</a> page and run the upgrade process."
1262
msgstr ""
1263
1264
- #: includes/admin/core/class-admin-notices.php:602
1265
msgid "Upgrade Now"
1266
msgstr ""
1267
1268
- #: includes/admin/core/class-admin-notices.php:616
1269
#, php-format
1270
msgid "<strong>%s %s</strong> Successfully Upgraded"
1271
msgstr ""
1272
1273
- #: includes/admin/core/class-admin-notices.php:642
1274
#, php-format
1275
msgid ""
1276
"Hey there! It's been one month since you installed %s. How have you found "
1277
"the plugin so far?"
1278
msgstr ""
1279
1280
- #: includes/admin/core/class-admin-notices.php:645
1281
msgid "I love it!"
1282
msgstr ""
1283
1284
- #: includes/admin/core/class-admin-notices.php:646
1285
msgid "It's good but could be better"
1286
msgstr ""
1287
1288
- #: includes/admin/core/class-admin-notices.php:647
1289
msgid "I don't like the plugin"
1290
msgstr ""
1291
1292
- #: includes/admin/core/class-admin-notices.php:652
1293
#, php-format
1294
msgid ""
1295
"Great! We're happy to hear that you love the plugin. It would be amazing if "
@@ -1298,22 +1273,22 @@ msgid ""
1298
"appreciated by us!"
1299
msgstr ""
1300
1301
- #: includes/admin/core/class-admin-notices.php:656
1302
msgid "Leave Review"
1303
msgstr ""
1304
1305
- #: includes/admin/core/class-admin-notices.php:661
1306
msgid ""
1307
"We're glad to hear that you like the plugin but we would love to get your "
1308
"feedback so we can make the plugin better."
1309
msgstr ""
1310
1311
- #: includes/admin/core/class-admin-notices.php:665
1312
- #: includes/admin/core/class-admin-notices.php:674
1313
msgid "Provide Feedback"
1314
msgstr ""
1315
1316
- #: includes/admin/core/class-admin-notices.php:670
1317
#, php-format
1318
msgid ""
1319
"We're sorry to hear that. If you're having the issue with the plugin you can "
@@ -1323,18 +1298,18 @@ msgid ""
1323
"like about the plugin you can tell us know by giving us feedback."
1324
msgstr ""
1325
1326
- #: includes/admin/core/class-admin-notices.php:696
1327
#, php-format
1328
msgid ""
1329
"<strong>%s</strong> future plans! Detailed future list is <a href=\"%s\" "
1330
"target=\"_blank\">here</a>"
1331
msgstr ""
1332
1333
- #: includes/admin/core/class-admin-notices.php:711
1334
msgid "Wrong Nonce"
1335
msgstr ""
1336
1337
- #: includes/admin/core/class-admin-notices.php:716
1338
msgid "Wrong Data"
1339
msgstr ""
1340
@@ -2337,130 +2312,130 @@ msgstr ""
2337
msgid "Install Info"
2338
msgstr ""
2339
2340
- #: includes/admin/core/class-admin-settings.php:1150
2341
msgid "Ultimate Member - Settings"
2342
msgstr ""
2343
2344
- #: includes/admin/core/class-admin-settings.php:1289
2345
msgid "Save Changes"
2346
msgstr ""
2347
2348
- #: includes/admin/core/class-admin-settings.php:1732
2349
msgid "Subject Line"
2350
msgstr ""
2351
2352
- #: includes/admin/core/class-admin-settings.php:1734
2353
msgid "This is the subject line of the e-mail"
2354
msgstr ""
2355
2356
- #: includes/admin/core/class-admin-settings.php:1739
2357
msgid "Message Body"
2358
msgstr ""
2359
2360
- #: includes/admin/core/class-admin-settings.php:1741
2361
msgid "This is the content of the e-mail"
2362
msgstr ""
2363
2364
- #: includes/admin/core/class-admin-settings.php:1791
2365
- #: includes/admin/core/class-admin-settings.php:1889
2366
#, php-format
2367
msgid ""
2368
"Your license key expired on %s. Please <a href=\"%s\" target=\"_blank"
2369
"\">renew your license key</a>."
2370
msgstr ""
2371
2372
- #: includes/admin/core/class-admin-settings.php:1804
2373
- #: includes/admin/core/class-admin-settings.php:1902
2374
#, php-format
2375
msgid ""
2376
"Your license key has been disabled. Please <a href=\"%s\" target=\"_blank"
2377
"\">contact support</a> for more information."
2378
msgstr ""
2379
2380
- #: includes/admin/core/class-admin-settings.php:1816
2381
- #: includes/admin/core/class-admin-settings.php:1914
2382
#, php-format
2383
msgid ""
2384
"Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
2385
"page</a> and verify it."
2386
msgstr ""
2387
2388
- #: includes/admin/core/class-admin-settings.php:1829
2389
- #: includes/admin/core/class-admin-settings.php:1927
2390
#, php-format
2391
msgid ""
2392
"Your %s is not active for this URL. Please <a href=\"%s\" target=\"_blank"
2393
"\">visit your account page</a> to manage your license key URLs."
2394
msgstr ""
2395
2396
- #: includes/admin/core/class-admin-settings.php:1841
2397
- #: includes/admin/core/class-admin-settings.php:1939
2398
#, php-format
2399
msgid "This appears to be an invalid license key for %s."
2400
msgstr ""
2401
2402
- #: includes/admin/core/class-admin-settings.php:1850
2403
- #: includes/admin/core/class-admin-settings.php:1948
2404
#, php-format
2405
msgid ""
2406
"Your license key has reached its activation limit. <a href=\"%s\">View "
2407
"possible upgrades</a> now."
2408
msgstr ""
2409
2410
- #: includes/admin/core/class-admin-settings.php:1859
2411
- #: includes/admin/core/class-admin-settings.php:1957
2412
msgid ""
2413
"The key you entered belongs to a bundle, please use the product specific "
2414
"license key."
2415
msgstr ""
2416
2417
- #: includes/admin/core/class-admin-settings.php:1867
2418
- #: includes/admin/core/class-admin-settings.php:1875
2419
msgid "unknown_error"
2420
msgstr ""
2421
2422
- #: includes/admin/core/class-admin-settings.php:1868
2423
- #: includes/admin/core/class-admin-settings.php:1876
2424
#, php-format
2425
msgid ""
2426
"There was an error with this license key: %s. Please <a href=\"%s\">contact "
2427
"our support team</a>."
2428
msgstr ""
2429
2430
- #: includes/admin/core/class-admin-settings.php:1972
2431
msgid "License key never expires."
2432
msgstr ""
2433
2434
- #: includes/admin/core/class-admin-settings.php:1979
2435
#, php-format
2436
msgid ""
2437
"Your license key expires soon! It expires on %s. <a href=\"%s\" target="
2438
"\"_blank\">Renew your license key</a>."
2439
msgstr ""
2440
2441
- #: includes/admin/core/class-admin-settings.php:1989
2442
#, php-format
2443
msgid "Your license key expires on %s."
2444
msgstr ""
2445
2446
- #: includes/admin/core/class-admin-settings.php:2007
2447
#, php-format
2448
msgid "To receive updates, please enter your valid %s license key."
2449
msgstr ""
2450
2451
- #: includes/admin/core/class-admin-settings.php:2031
2452
msgid "Clear License"
2453
msgstr ""
2454
2455
- #: includes/admin/core/class-admin-settings.php:2033
2456
msgid "Activate"
2457
msgstr ""
2458
2459
- #: includes/admin/core/class-admin-settings.php:2035
2460
msgid "Re-Activate"
2461
msgstr ""
2462
2463
- #: includes/admin/core/class-admin-settings.php:2087
2464
msgid ""
2465
"To copy the Install info, click below then press Ctrl + C (PC) or Cmd + C "
2466
"(Mac)."
@@ -2893,27 +2868,6 @@ msgid ""
2893
"our <a href=\"https://ultimatemember.com/forums/\">community forum</a>."
2894
msgstr ""
2895
2896
- #: includes/admin/templates/dashboard/language-download.php:2
2897
- #, php-format
2898
- msgid ""
2899
- "Ultimate Member is available in your language: <strong>%1$s (%2$s)</strong>."
2900
- msgstr ""
2901
-
2902
- #: includes/admin/templates/dashboard/language-download.php:7
2903
- msgid "Download Translation"
2904
- msgstr ""
2905
-
2906
- #: includes/admin/templates/dashboard/language-update.php:2
2907
- #, php-format
2908
- msgid ""
2909
- "You are currently using Ultimate Member in your language: <strong>%1$s "
2910
- "(%2$s)</strong>."
2911
- msgstr ""
2912
-
2913
- #: includes/admin/templates/dashboard/language-update.php:7
2914
- msgid "Force Update Translation"
2915
- msgstr ""
2916
-
2917
#: includes/admin/templates/dashboard/purge.php:4
2918
#, php-format
2919
msgid ""
@@ -3184,8 +3138,14 @@ msgstr ""
3184
msgid "We are sorry. We cannot find any users who match your search criteria."
3185
msgstr ""
3186
3187
#: includes/admin/templates/extensions.php:169
3188
- msgid "View our Extensions Bundle"
3189
msgstr ""
3190
3191
#: includes/admin/templates/extensions.php:178
@@ -4059,7 +4019,7 @@ msgstr ""
4059
msgid "Correct folder name is <strong>\"%s\"</strong>"
4060
msgstr ""
4061
4062
- #: includes/class-init.php:160 includes/class-init.php:169
4063
msgid "Cheatin&#8217; huh?"
4064
msgstr ""
4065
@@ -6330,35 +6290,35 @@ msgstr ""
6330
msgid "This user has not added any information to their profile yet."
6331
msgstr ""
6332
6333
- #: includes/core/class-files.php:271
6334
msgid "Invalid parameters"
6335
msgstr ""
6336
6337
- #: includes/core/class-files.php:276
6338
msgid "Invalid coordinates"
6339
msgstr ""
6340
6341
- #: includes/core/class-files.php:281
6342
msgid "Invalid file ownership"
6343
msgstr ""
6344
6345
- #: includes/core/class-files.php:334
6346
msgid "Invalid nonce"
6347
msgstr ""
6348
6349
- #: includes/core/class-files.php:354 includes/core/class-files.php:439
6350
msgid "A theme or plugin compatibility issue"
6351
msgstr ""
6352
6353
- #: includes/core/class-files.php:982
6354
msgid "Ultimate Member: Not a valid temp file"
6355
msgstr ""
6356
6357
- #: includes/core/class-files.php:1110
6358
msgid "Invalid user ID: "
6359
msgstr ""
6360
6361
- #: includes/core/class-files.php:1119 includes/core/class-files.php:1147
6362
msgid "Unauthorized to do this attempt."
6363
msgstr ""
6364
@@ -6836,51 +6796,51 @@ msgstr ""
6836
msgid "Last Page"
6837
msgstr ""
6838
6839
- #: includes/core/um-actions-misc.php:115
6840
msgid "Your account was updated successfully."
6841
msgstr ""
6842
6843
- #: includes/core/um-actions-misc.php:119
6844
msgid "You have successfully changed your password."
6845
msgstr ""
6846
6847
- #: includes/core/um-actions-misc.php:123
6848
msgid "Your account is now active! You can login."
6849
msgstr ""
6850
6851
- #: includes/core/um-actions-misc.php:157
6852
msgid "An error has been encountered"
6853
msgstr ""
6854
6855
- #: includes/core/um-actions-misc.php:161
6856
msgid "Registration is currently disabled"
6857
msgstr ""
6858
6859
- #: includes/core/um-actions-misc.php:165 includes/core/um-filters-login.php:40
6860
msgid "This email address has been blocked."
6861
msgstr ""
6862
6863
- #: includes/core/um-actions-misc.php:169
6864
msgid "We do not accept registrations from that domain."
6865
msgstr ""
6866
6867
- #: includes/core/um-actions-misc.php:173 includes/core/um-filters-login.php:43
6868
msgid "Your IP address has been blocked."
6869
msgstr ""
6870
6871
- #: includes/core/um-actions-misc.php:177 includes/core/um-filters-login.php:136
6872
msgid "Your account has been disabled."
6873
msgstr ""
6874
6875
- #: includes/core/um-actions-misc.php:181 includes/core/um-filters-login.php:139
6876
msgid "Your account has not been approved yet."
6877
msgstr ""
6878
6879
- #: includes/core/um-actions-misc.php:185 includes/core/um-filters-login.php:142
6880
msgid "Your account is awaiting e-mail verification."
6881
msgstr ""
6882
6883
- #: includes/core/um-actions-misc.php:189 includes/core/um-filters-login.php:145
6884
msgid "Your membership request has been rejected."
6885
msgstr ""
6886
@@ -6969,11 +6929,11 @@ msgstr ""
6969
msgid "Login as this user"
6970
msgstr ""
6971
6972
- #: includes/um-short-functions.php:580
6973
msgid "date submitted"
6974
msgstr ""
6975
6976
- #: includes/um-short-functions.php:586
6977
msgid "(empty)"
6978
msgstr ""
6979
1
msgid ""
2
msgstr ""
3
"Project-Id-Version: Ultimate Member\n"
4
+ "POT-Creation-Date: 2018-11-20 13:57+0200\n"
5
+ "PO-Revision-Date: 2018-11-20 13:57+0200\n"
6
"Last-Translator: \n"
7
"Language-Team: \n"
8
"Language: en_US\n"
21
"X-Poedit-SearchPath-0: .\n"
22
"X-Poedit-SearchPathExcluded-0: *.js\n"
23
24
+ #: includes/admin/class-admin.php:181
25
#, php-format
26
msgid "Duplicate of %s"
27
msgstr ""
28
29
+ #: includes/admin/class-admin.php:295
30
msgid "Docs"
31
msgstr ""
32
33
+ #: includes/admin/class-admin.php:296
34
+ #: includes/admin/core/class-admin-settings.php:1128
35
msgid "Settings"
36
msgstr ""
37
38
+ #: includes/admin/class-admin.php:367 includes/admin/class-admin.php:370
39
msgid "Form updated."
40
msgstr ""
41
42
+ #: includes/admin/class-admin.php:368
43
msgid "Custom field updated."
44
msgstr ""
45
46
+ #: includes/admin/class-admin.php:369
47
msgid "Custom field deleted."
48
msgstr ""
49
50
+ #: includes/admin/class-admin.php:371
51
msgid "Form restored to revision."
52
msgstr ""
53
54
+ #: includes/admin/class-admin.php:372
55
msgid "Form created."
56
msgstr ""
57
58
+ #: includes/admin/class-admin.php:373
59
msgid "Form saved."
60
msgstr ""
61
62
+ #: includes/admin/class-admin.php:374
63
msgid "Form submitted."
64
msgstr ""
65
66
+ #: includes/admin/class-admin.php:375
67
msgid "Form scheduled."
68
msgstr ""
69
70
+ #: includes/admin/class-admin.php:376
71
msgid "Form draft updated."
72
msgstr ""
73
248
#: includes/admin/core/class-admin-forms.php:827
249
#: includes/admin/core/class-admin-forms.php:932
250
#: includes/admin/core/class-admin-forms.php:941
251
+ #: includes/admin/core/class-admin-notices.php:390
252
#: includes/core/um-actions-profile.php:553
253
msgid "Remove"
254
msgstr ""
429
msgid "User Cache"
430
msgstr ""
431
432
#: includes/admin/core/class-admin-menu.php:221
433
msgid "Upgrade's Manual Request"
434
msgstr ""
435
1096
msgid "Select the member roles that can see this link"
1097
msgstr ""
1098
1099
+ #: includes/admin/core/class-admin-notices.php:279
1100
#, php-format
1101
msgid ""
1102
"<strong>%s %s</strong> requires 2.0 extensions. You have pre 2.0 extensions "
1104
"versions. For more info see this <a href=\"%s\" target=\"_blank\">doc</a>."
1105
msgstr ""
1106
1107
+ #: includes/admin/core/class-admin-notices.php:300
1108
#, php-format
1109
msgid ""
1110
"%s needs to create several pages (User Profiles, Account, Registration, "
1111
"Login, Password Reset, Logout, Member Directory) to function correctly."
1112
msgstr ""
1113
1114
+ #: includes/admin/core/class-admin-notices.php:304
1115
msgid "Create Pages"
1116
msgstr ""
1117
1118
+ #: includes/admin/core/class-admin-notices.php:306
1119
+ #: includes/admin/core/class-admin-notices.php:500
1120
msgid "No thanks"
1121
msgstr ""
1122
1123
+ #: includes/admin/core/class-admin-notices.php:326
1124
msgid "Ultimate Member Setup Error: User page can not be a child page."
1125
msgstr ""
1126
1127
+ #: includes/admin/core/class-admin-notices.php:336
1128
msgid "Ultimate Member Setup Error: Account page can not be a child page."
1129
msgstr ""
1130
1131
+ #: includes/admin/core/class-admin-notices.php:354
1132
#, php-format
1133
msgid ""
1134
"Exif is not enabled on your server. Mobile photo uploads will not be rotated "
1136
"notice</a>"
1137
msgstr ""
1138
1139
+ #: includes/admin/core/class-admin-notices.php:389
1140
#, php-format
1141
msgid ""
1142
"Are you sure you want to delete the selected user(s)? The following users "
1143
"will be deleted: <p>%s</p> <strong>This cannot be undone!</strong>"
1144
msgstr ""
1145
1146
+ #: includes/admin/core/class-admin-notices.php:390
1147
msgid "Undo"
1148
msgstr ""
1149
1150
+ #: includes/admin/core/class-admin-notices.php:395
1151
msgid "Your translation files have been updated successfully."
1152
msgstr ""
1153
1154
+ #: includes/admin/core/class-admin-notices.php:399
1155
msgid "Your temp uploads directory is now clean."
1156
msgstr ""
1157
1158
+ #: includes/admin/core/class-admin-notices.php:403
1159
msgid "Your user cache is now removed."
1160
msgstr ""
1161
1162
+ #: includes/admin/core/class-admin-notices.php:407
1163
msgid "You got the latest upgrades."
1164
msgstr ""
1165
1166
+ #: includes/admin/core/class-admin-notices.php:411
1167
msgid "Try again later. You can run this action once daily."
1168
msgstr ""
1169
1170
+ #: includes/admin/core/class-admin-notices.php:415
1171
msgid "The form has been duplicated successfully."
1172
msgstr ""
1173
1174
+ #: includes/admin/core/class-admin-notices.php:419
1175
msgid "User has been updated."
1176
msgstr ""
1177
1178
+ #: includes/admin/core/class-admin-notices.php:423
1179
msgid "Users have been updated."
1180
msgstr ""
1181
1182
+ #: includes/admin/core/class-admin-notices.php:427
1183
msgid "Changed roles."
1184
msgstr ""
1185
1186
+ #: includes/admin/core/class-admin-notices.php:431
1187
msgid "Super administrators cannot be modified."
1188
msgstr ""
1189
1190
+ #: includes/admin/core/class-admin-notices.php:432
1191
msgid "Other users have been updated."
1192
msgstr ""
1193
1194
+ #: includes/admin/core/class-admin-notices.php:469
1195
#, php-format
1196
msgid ""
1197
"You have installed <strong>%s</strong> with wrong folder name. Correct "
1198
"folder name is <strong>\"ultimate-member\"</strong>."
1199
msgstr ""
1200
1201
+ #: includes/admin/core/class-admin-notices.php:494
1202
#, php-format
1203
msgid ""
1204
"Thanks for installing <strong>%s</strong>! We hope you like the plugin. To "
1207
"discount code for our <a href=\"%s\" target=\"_blank\">extensions bundle</a>."
1208
msgstr ""
1209
1210
+ #: includes/admin/core/class-admin-notices.php:498
1211
#, php-format
1212
msgid "Claim 20% discount code"
1213
msgstr ""
1214
1215
+ #: includes/admin/core/class-admin-notices.php:537
1216
#, php-format
1217
msgid ""
1218
"There are %d inactive %s license keys for this site. This site is not "
1220
"\">www.ultimatemember.com</a>."
1221
msgstr ""
1222
1223
+ #: includes/admin/core/class-admin-notices.php:544
1224
#, php-format
1225
msgid ""
1226
"You have %d invalid or expired license keys for %s. Please go to the <a href="
1227
"\"%s\">Licenses page</a> to correct this issue."
1228
msgstr ""
1229
1230
+ #: includes/admin/core/class-admin-notices.php:558
1231
#, php-format
1232
msgid ""
1233
"<strong>%s version %s</strong> needs to be updated to work correctly.<br /"
1236
"\"Upgrade\"</a> page and run the upgrade process."
1237
msgstr ""
1238
1239
+ #: includes/admin/core/class-admin-notices.php:562
1240
msgid "Upgrade Now"
1241
msgstr ""
1242
1243
+ #: includes/admin/core/class-admin-notices.php:576
1244
#, php-format
1245
msgid "<strong>%s %s</strong> Successfully Upgraded"
1246
msgstr ""
1247
1248
+ #: includes/admin/core/class-admin-notices.php:602
1249
#, php-format
1250
msgid ""
1251
"Hey there! It's been one month since you installed %s. How have you found "
1252
"the plugin so far?"
1253
msgstr ""
1254
1255
+ #: includes/admin/core/class-admin-notices.php:605
1256
msgid "I love it!"
1257
msgstr ""
1258
1259
+ #: includes/admin/core/class-admin-notices.php:606
1260
msgid "It's good but could be better"
1261
msgstr ""
1262
1263
+ #: includes/admin/core/class-admin-notices.php:607
1264
msgid "I don't like the plugin"
1265
msgstr ""
1266
1267
+ #: includes/admin/core/class-admin-notices.php:612
1268
#, php-format
1269
msgid ""
1270
"Great! We're happy to hear that you love the plugin. It would be amazing if "
1273
"appreciated by us!"
1274
msgstr ""
1275
1276
+ #: includes/admin/core/class-admin-notices.php:616
1277
msgid "Leave Review"
1278
msgstr ""
1279
1280
+ #: includes/admin/core/class-admin-notices.php:621
1281
msgid ""
1282
"We're glad to hear that you like the plugin but we would love to get your "
1283
"feedback so we can make the plugin better."
1284
msgstr ""
1285
1286
+ #: includes/admin/core/class-admin-notices.php:625
1287
+ #: includes/admin/core/class-admin-notices.php:634
1288
msgid "Provide Feedback"
1289
msgstr ""
1290
1291
+ #: includes/admin/core/class-admin-notices.php:630
1292
#, php-format
1293
msgid ""
1294
"We're sorry to hear that. If you're having the issue with the plugin you can "
1298
"like about the plugin you can tell us know by giving us feedback."
1299
msgstr ""
1300
1301
+ #: includes/admin/core/class-admin-notices.php:656
1302
#, php-format
1303
msgid ""
1304
"<strong>%s</strong> future plans! Detailed future list is <a href=\"%s\" "
1305
"target=\"_blank\">here</a>"
1306
msgstr ""
1307
1308
+ #: includes/admin/core/class-admin-notices.php:671
1309
msgid "Wrong Nonce"
1310
msgstr ""
1311
1312
+ #: includes/admin/core/class-admin-notices.php:676
1313
msgid "Wrong Data"
1314
msgstr ""
1315
2312
msgid "Install Info"
2313
msgstr ""
2314
2315
+ #: includes/admin/core/class-admin-settings.php:1159
2316
msgid "Ultimate Member - Settings"
2317
msgstr ""
2318
2319
+ #: includes/admin/core/class-admin-settings.php:1298
2320
msgid "Save Changes"
2321
msgstr ""
2322
2323
+ #: includes/admin/core/class-admin-settings.php:1741
2324
msgid "Subject Line"
2325
msgstr ""
2326
2327
+ #: includes/admin/core/class-admin-settings.php:1743
2328
msgid "This is the subject line of the e-mail"
2329
msgstr ""
2330
2331
+ #: includes/admin/core/class-admin-settings.php:1748
2332
msgid "Message Body"
2333
msgstr ""
2334
2335
+ #: includes/admin/core/class-admin-settings.php:1750
2336
msgid "This is the content of the e-mail"
2337
msgstr ""
2338
2339
+ #: includes/admin/core/class-admin-settings.php:1800
2340
+ #: includes/admin/core/class-admin-settings.php:1898
2341
#, php-format
2342
msgid ""
2343
"Your license key expired on %s. Please <a href=\"%s\" target=\"_blank"
2344
"\">renew your license key</a>."
2345
msgstr ""
2346
2347
+ #: includes/admin/core/class-admin-settings.php:1813
2348
+ #: includes/admin/core/class-admin-settings.php:1911
2349
#, php-format
2350
msgid ""
2351
"Your license key has been disabled. Please <a href=\"%s\" target=\"_blank"
2352
"\">contact support</a> for more information."
2353
msgstr ""
2354
2355
+ #: includes/admin/core/class-admin-settings.php:1825
2356
+ #: includes/admin/core/class-admin-settings.php:1923
2357
#, php-format
2358
msgid ""
2359
"Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
2360
"page</a> and verify it."
2361
msgstr ""
2362
2363
+ #: includes/admin/core/class-admin-settings.php:1838
2364
+ #: includes/admin/core/class-admin-settings.php:1936
2365
#, php-format
2366
msgid ""
2367
"Your %s is not active for this URL. Please <a href=\"%s\" target=\"_blank"
2368
"\">visit your account page</a> to manage your license key URLs."
2369
msgstr ""
2370
2371
+ #: includes/admin/core/class-admin-settings.php:1850
2372
+ #: includes/admin/core/class-admin-settings.php:1948
2373
#, php-format
2374
msgid "This appears to be an invalid license key for %s."
2375
msgstr ""
2376
2377
+ #: includes/admin/core/class-admin-settings.php:1859
2378
+ #: includes/admin/core/class-admin-settings.php:1957
2379
#, php-format
2380
msgid ""
2381
"Your license key has reached its activation limit. <a href=\"%s\">View "
2382
"possible upgrades</a> now."
2383
msgstr ""
2384
2385
+ #: includes/admin/core/class-admin-settings.php:1868
2386
+ #: includes/admin/core/class-admin-settings.php:1966
2387
msgid ""
2388
"The key you entered belongs to a bundle, please use the product specific "
2389
"license key."
2390
msgstr ""
2391
2392
+ #: includes/admin/core/class-admin-settings.php:1876
2393
+ #: includes/admin/core/class-admin-settings.php:1884
2394
msgid "unknown_error"
2395
msgstr ""
2396
2397
+ #: includes/admin/core/class-admin-settings.php:1877
2398
+ #: includes/admin/core/class-admin-settings.php:1885
2399
#, php-format
2400
msgid ""
2401
"There was an error with this license key: %s. Please <a href=\"%s\">contact "
2402
"our support team</a>."
2403
msgstr ""
2404
2405
+ #: includes/admin/core/class-admin-settings.php:1981
2406
msgid "License key never expires."
2407
msgstr ""
2408
2409
+ #: includes/admin/core/class-admin-settings.php:1988
2410
#, php-format
2411
msgid ""
2412
"Your license key expires soon! It expires on %s. <a href=\"%s\" target="
2413
"\"_blank\">Renew your license key</a>."
2414
msgstr ""
2415
2416
+ #: includes/admin/core/class-admin-settings.php:1998
2417
#, php-format
2418
msgid "Your license key expires on %s."
2419
msgstr ""
2420
2421
+ #: includes/admin/core/class-admin-settings.php:2016
2422
#, php-format
2423
msgid "To receive updates, please enter your valid %s license key."
2424
msgstr ""
2425
2426
+ #: includes/admin/core/class-admin-settings.php:2040
2427
msgid "Clear License"
2428
msgstr ""
2429
2430
+ #: includes/admin/core/class-admin-settings.php:2042
2431
msgid "Activate"
2432
msgstr ""
2433
2434
+ #: includes/admin/core/class-admin-settings.php:2044
2435
msgid "Re-Activate"
2436
msgstr ""
2437
2438
+ #: includes/admin/core/class-admin-settings.php:2096
2439
msgid ""
2440
"To copy the Install info, click below then press Ctrl + C (PC) or Cmd + C "
2441
"(Mac)."
2868
"our <a href=\"https://ultimatemember.com/forums/\">community forum</a>."
2869
msgstr ""
2870
2871
#: includes/admin/templates/dashboard/purge.php:4
2872
#, php-format
2873
msgid ""
3138
msgid "We are sorry. We cannot find any users who match your search criteria."
3139
msgstr ""
3140
3141
+ #: includes/admin/templates/extensions.php:165
3142
+ msgid ""
3143
+ "<strong>All Access Pass</strong> – Get access to all Ultimate Member "
3144
+ "extensions at a significant discount with our All Access Pass."
3145
+ msgstr ""
3146
+
3147
#: includes/admin/templates/extensions.php:169
3148
+ msgid "View Pricing"
3149
msgstr ""
3150
3151
#: includes/admin/templates/extensions.php:178
4019
msgid "Correct folder name is <strong>\"%s\"</strong>"
4020
msgstr ""
4021
4022
+ #: includes/class-init.php:152 includes/class-init.php:161
4023
msgid "Cheatin&#8217; huh?"
4024
msgstr ""
4025
6290
msgid "This user has not added any information to their profile yet."
6291
msgstr ""
6292
6293
+ #: includes/core/class-files.php:267
6294
msgid "Invalid parameters"
6295
msgstr ""
6296
6297
+ #: includes/core/class-files.php:272
6298
msgid "Invalid coordinates"
6299
msgstr ""
6300
6301
+ #: includes/core/class-files.php:277
6302
msgid "Invalid file ownership"
6303
msgstr ""
6304
6305
+ #: includes/core/class-files.php:330
6306
msgid "Invalid nonce"
6307
msgstr ""
6308
6309
+ #: includes/core/class-files.php:350 includes/core/class-files.php:435
6310
msgid "A theme or plugin compatibility issue"
6311
msgstr ""
6312
6313
+ #: includes/core/class-files.php:978
6314
msgid "Ultimate Member: Not a valid temp file"
6315
msgstr ""
6316
6317
+ #: includes/core/class-files.php:1106
6318
msgid "Invalid user ID: "
6319
msgstr ""
6320
6321
+ #: includes/core/class-files.php:1115 includes/core/class-files.php:1143
6322
msgid "Unauthorized to do this attempt."
6323
msgstr ""
6324
6796
msgid "Last Page"
6797
msgstr ""
6798
6799
+ #: includes/core/um-actions-misc.php:111
6800
msgid "Your account was updated successfully."
6801
msgstr ""
6802
6803
+ #: includes/core/um-actions-misc.php:115
6804
msgid "You have successfully changed your password."
6805
msgstr ""
6806
6807
+ #: includes/core/um-actions-misc.php:119
6808
msgid "Your account is now active! You can login."
6809
msgstr ""
6810
6811
+ #: includes/core/um-actions-misc.php:153
6812
msgid "An error has been encountered"
6813
msgstr ""
6814
6815
+ #: includes/core/um-actions-misc.php:157
6816
msgid "Registration is currently disabled"
6817
msgstr ""
6818
6819
+ #: includes/core/um-actions-misc.php:161 includes/core/um-filters-login.php:40
6820
msgid "This email address has been blocked."
6821
msgstr ""
6822
6823
+ #: includes/core/um-actions-misc.php:165
6824
msgid "We do not accept registrations from that domain."
6825
msgstr ""
6826
6827
+ #: includes/core/um-actions-misc.php:169 includes/core/um-filters-login.php:43
6828
msgid "Your IP address has been blocked."
6829
msgstr ""
6830
6831
+ #: includes/core/um-actions-misc.php:173 includes/core/um-filters-login.php:136
6832
msgid "Your account has been disabled."
6833
msgstr ""
6834
6835
+ #: includes/core/um-actions-misc.php:177 includes/core/um-filters-login.php:139
6836
msgid "Your account has not been approved yet."
6837
msgstr ""
6838
6839
+ #: includes/core/um-actions-misc.php:181 includes/core/um-filters-login.php:142
6840
msgid "Your account is awaiting e-mail verification."
6841
msgstr ""
6842
6843
+ #: includes/core/um-actions-misc.php:185 includes/core/um-filters-login.php:145
6844
msgid "Your membership request has been rejected."
6845
msgstr ""
6846
6929
msgid "Login as this user"
6930
msgstr ""
6931
6932
+ #: includes/um-short-functions.php:578
6933
msgid "date submitted"
6934
msgstr ""
6935
6936
+ #: includes/um-short-functions.php:584
6937
msgid "(empty)"
6938
msgstr ""
6939
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link:
6
Tags: community, member, membership, user-profile, user-registration
7
Requires at least: 4.7
8
Tested up to: 4.9
9
- Stable tag: 2.0.31
10
License: GNU Version 2 or Any Later Version
11
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12
@@ -39,7 +39,7 @@ Read about all of the plugin's features at [Ultimate Member](https://ultimatemem
39
40
= Paid Extensions =
41
42
- Ultimate Member has a range of extensions that allow you to extend the power of the plugin
43
44
* [Private Content](https://ultimatemember.com/extensions/private-content/) - Display private content to logged in users that only they can access
45
* [Instagram](https://ultimatemember.com/extensions/instagram/) - Allow users to show their Instagram photos on their profile
@@ -137,6 +137,16 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
137
138
= Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin =
139
140
= 2.0.31: November 14, 2018 =
141
142
* Bugfixes:
6
Tags: community, member, membership, user-profile, user-registration
7
Requires at least: 4.7
8
Tested up to: 4.9
9
+ Stable tag: 2.0.32
10
License: GNU Version 2 or Any Later Version
11
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12
39
40
= Paid Extensions =
41
42
+ Ultimate Member has a range of extensions that allow you to extend the power of the plugin. You can purchase all of these extensions at a significant discount with our [All Access Pass](https://ultimatemember.com/pricing/) or you can purchase extensions individually.
43
44
* [Private Content](https://ultimatemember.com/extensions/private-content/) - Display private content to logged in users that only they can access
45
* [Instagram](https://ultimatemember.com/extensions/instagram/) - Allow users to show their Instagram photos on their profile
137
138
= Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin =
139
140
+ = 2.0.32: November 20, 2018 =
141
+
142
+ * Bugfixes:
143
+ - Added compatibility with PHP7.2 (removed deprecated functions and ini variables)
144
+ - Fixed duplicated "redirect_to" field
145
+ - Fixed errors on the installs < PHP5.6
146
+ - Fixed download files/images on the installs with the different home URL and site URL
147
+ - Fixed unique emails in admin email notifications
148
+ - Remove language notice, all translates are available on wp.org
149
+
150
= 2.0.31: November 14, 2018 =
151
152
* Bugfixes:
ultimate-member.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Ultimate Member
4
Plugin URI: http://ultimatemember.com/
5
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
6
- Version: 2.0.31
7
Author: Ultimate Member
8
Author URI: http://ultimatemember.com/
9
Text Domain: ultimate-member
3
Plugin Name: Ultimate Member
4
Plugin URI: http://ultimatemember.com/
5
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
6
+ Version: 2.0.32
7
Author: Ultimate Member
8
Author URI: http://ultimatemember.com/
9
Text Domain: ultimate-member