Fx text domain slug for wp.org translation compatibility

This commit is contained in:
Champ Camba
2017-06-06 22:37:55 +08:00
parent dfdf9901be
commit 18dd37fe70
100 changed files with 1792 additions and 1792 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
function ultimatemember_do_ajax_action(){
global $ultimatemember;
if ( !is_user_logged_in() || !current_user_can('manage_options') ) die( __('Please login as administrator','ultimatemember') );
if ( !is_user_logged_in() || !current_user_can('manage_options') ) die( __('Please login as administrator','ultimate-member') );
extract($_POST);
@@ -60,7 +60,7 @@
$arr_options = array();
if( ! current_user_can('manage_options') ){
wp_die( __( 'This is not possible for security reasons.','ultimatemember') );
wp_die( __( 'This is not possible for security reasons.','ultimate-member') );
}
$um_callback_func = $_POST['um_option_callback'];
+1 -1
View File
@@ -8,7 +8,7 @@
function ultimatemember_admin_update_field(){
global $ultimatemember;
if ( !is_user_logged_in() || !current_user_can('manage_options') ) die( __('Please login as administrator','ultimatemember') );
if ( !is_user_logged_in() || !current_user_can('manage_options') ) die( __('Please login as administrator','ultimate-member') );
$output['error'] = null;
+10 -10
View File
@@ -27,7 +27,7 @@
<div class="um-admin-btn-content">
<p class="um-admin-reset-conditions"><a href="#" class="button button-primary"><?php _e('Reset all rules','ultimatemember'); ?></a></p>
<p class="um-admin-reset-conditions"><a href="#" class="button button-primary"><?php _e('Reset all rules','ultimate-member'); ?></a></p>
<div class="um-admin-clear"></div>
<?php
@@ -95,7 +95,7 @@
$metabox = new UM_Admin_Metabox();
if ( !is_user_logged_in() || !current_user_can('manage_options') ) die( __('Please login as administrator','ultimatemember') );
if ( !is_user_logged_in() || !current_user_can('manage_options') ) die( __('Please login as administrator','ultimate-member') );
extract($_POST);
@@ -120,7 +120,7 @@
?>
<div class="um-admin-metabox">
<p class="_icon_search"><input type="text" name="_icon_search" id="_icon_search" value="" placeholder="<?php _e('Search Icons...','ultimatemember'); ?>" /></p>
<p class="_icon_search"><input type="text" name="_icon_search" id="_icon_search" value="" placeholder="<?php _e('Search Icons...','ultimate-member'); ?>" /></p>
</div>
<div class="um-admin-icons">
@@ -142,7 +142,7 @@
$form_fields = array_values( array_filter( array_keys( $form_fields ) ) );
?>
<h4><?php _e('Setup New Field','ultimatemember'); ?></h4>
<h4><?php _e('Setup New Field','ultimate-member'); ?></h4>
<div class="um-admin-btns">
<?php
@@ -158,7 +158,7 @@
</div>
<h4><?php _e('Predefined Fields','ultimatemember'); ?></h4>
<h4><?php _e('Predefined Fields','ultimate-member'); ?></h4>
<div class="um-admin-btns">
<?php
@@ -170,11 +170,11 @@
<a href="#" class="button" <?php disabled( in_array( $field_key, $form_fields ) ) ?> data-silent_action="um_admin_add_field_from_predefined" data-arg1="<?php echo $field_key; ?>" data-arg2="<?php echo $arg2; ?>"><?php echo um_trim_string( stripslashes( $array['title'] ), 20 ); ?></a>
<?php } } } else { echo '<p>' . __('None','ultimatemember') . '</p>'; } ?>
<?php } } } else { echo '<p>' . __('None','ultimate-member') . '</p>'; } ?>
</div>
<h4><?php _e('Custom Fields','ultimatemember'); ?></h4>
<h4><?php _e('Custom Fields','ultimate-member'); ?></h4>
<div class="um-admin-btns">
<?php
@@ -184,7 +184,7 @@
<a href="#" class="button with-icon" data-silent_action="um_admin_add_field_from_list" data-arg1="<?php echo $field_key; ?>" data-arg2="<?php echo $arg2; ?>"><?php echo um_trim_string( stripslashes( $array['title'] ), 20 ); ?> <small>(<?php echo ucfirst( $array['type']); ?>)</small><span class="remove"></span></a>
<?php } } else { echo '<p>' . __('You did not create any custom fields', 'ultimatemember') . '</p>'; } ?>
<?php } } else { echo '<p>' . __('You did not create any custom fields', 'ultimate-member') . '</p>'; } ?>
</div>
@@ -218,7 +218,7 @@
if ( !isset( $col1 ) ) {
echo '<p>'. __('This field type is not setup correcty.', 'ultimatemember') . '</p>';
echo '<p>'. __('This field type is not setup correcty.', 'ultimate-member') . '</p>';
} else {
@@ -288,7 +288,7 @@
if ( !isset( $col1 ) ) {
echo '<p>'. __('This field type is not setup correcty.', 'ultimatemember') . '</p>';
echo '<p>'. __('This field type is not setup correcty.', 'ultimate-member') . '</p>';
} else {
+1 -1
View File
@@ -36,7 +36,7 @@
case 'um_delete':
if ( is_admin() )
wp_die('This action is not allowed in backend.','ultimatemember');
wp_die('This action is not allowed in backend.','ultimate-member');
$ultimatemember->user->delete();
break;
+24 -24
View File
@@ -16,7 +16,7 @@
?>
<table id="table_my_custom_field" style="display:none;">
<tr>
<th><label for="um_role"><?php _e( 'Community Role', 'ultimatemember' ); ?></label></th>
<th><label for="um_role"><?php _e( 'Community Role', 'ultimate-member'); ?></label></th>
<td>
<select name="um_role" id="um_role">
<?php foreach( $ultimatemember->query->get_roles() as $key => $value ) { ?>
@@ -75,28 +75,28 @@
global $ultimatemember;
echo '<div class="form-field term-access-wrap um-conditional-radio-group" data-cond1="2" data-cond1-show="term-roles-wrap" data-cond2="1" data-cond2-show="term-redirect-wrap">';
echo '<label>' . __('Content Availability','ultimatemember') . '</label>';
echo '<label><input type="radio" name="_um_accessible" value="0" checked /> '. __('Content accessible to Everyone','ultimatemember') . '</label>
<label><input type="radio" name="_um_accessible" value="1" /> ' . __('Content accessible to Logged Out Users','ultimatemember') . '</label>
<label><input type="radio" name="_um_accessible" value="2" /> ' . __('Content accessible to Logged In Users','ultimatemember') . '</label>';
echo '<label>' . __('Content Availability','ultimate-member') . '</label>';
echo '<label><input type="radio" name="_um_accessible" value="0" checked /> '. __('Content accessible to Everyone','ultimate-member') . '</label>
<label><input type="radio" name="_um_accessible" value="1" /> ' . __('Content accessible to Logged Out Users','ultimate-member') . '</label>
<label><input type="radio" name="_um_accessible" value="2" /> ' . __('Content accessible to Logged In Users','ultimate-member') . '</label>';
echo '<p class="description">Who can see content/posts in this category.</p>';
echo '</div>';
echo '<div class="form-field term-roles-wrap">';
echo '<label>' . __('Roles who can see the content','ultimatemember') . '</label>';
echo '<label>' . __('Roles who can see the content','ultimate-member') . '</label>';
foreach($ultimatemember->query->get_roles() as $role_id => $role) {
echo '<label><input type="checkbox" name="_um_roles[]" value="' . $role_id . '" /> ' . $role . '</label>';
}
echo '<p class="description">' . __('This is applicable only if you restrict the content to logged-in users.','ultimatemember') . '</p>';
echo '<label>' . __('Content Restriction Redirect URL','ultimatemember') . '</label>';
echo '<p class="description">' . __('This is applicable only if you restrict the content to logged-in users.','ultimate-member') . '</p>';
echo '<label>' . __('Content Restriction Redirect URL','ultimate-member') . '</label>';
echo '<input type="text" name="_um_redirect" id="_um_redirect" value="" />';
echo '<p class="description">' . __('Users who cannot see content will get redirected to that URL.','ultimatemember') . '</p>';
echo '<p class="description">' . __('Users who cannot see content will get redirected to that URL.','ultimate-member') . '</p>';
echo '</div>';
echo '<div class="form-field term-redirect-wrap">';
echo '<label>' . __('Content Restriction Redirect URL','ultimatemember') . '</label>';
echo '<label>' . __('Content Restriction Redirect URL','ultimate-member') . '</label>';
echo '<input type="text" name="_um_redirect2" id="_um_redirect2" value="" />';
echo '<p class="description">' . __('Users who cannot see content will get redirected to that URL.','ultimatemember') . '</p>';
echo '<p class="description">' . __('Users who cannot see content will get redirected to that URL.','ultimate-member') . '</p>';
echo '</div>';
}
@@ -112,15 +112,15 @@
$_um_roles= (isset( $termMeta['_um_roles'] ) )? $termMeta['_um_roles'] : '';
echo '<tr class="form-field form-required term-access-wrap um-conditional-radio-group" data-cond1="2" data-cond1-show="term-roles-wrap" data-cond2="1" data-cond2-show="term-redirect-wrap" >';
echo "<th scope='row'><label>" . __('Content Availability','ultimatemember') . "</label></th>";
echo '<td><label><input type="radio" name="_um_accessible" value="0" ' . checked( 0, $_um_accessible, 0 ) . ' /> '. __('Content accessible to Everyone','ultimatemember') . '</label><br />
<label><input type="radio" name="_um_accessible" value="1" ' . checked( 1, $_um_accessible, 0 ) . ' /> ' . __('Content accessible to Logged Out Users','ultimatemember') . '</label><br />
<label><input type="radio" name="_um_accessible" value="2" ' . checked( 2, $_um_accessible, 0 ) . ' /> ' . __('Content accessible to Logged In Users','ultimatemember') . '</label>';
echo "<th scope='row'><label>" . __('Content Availability','ultimate-member') . "</label></th>";
echo '<td><label><input type="radio" name="_um_accessible" value="0" ' . checked( 0, $_um_accessible, 0 ) . ' /> '. __('Content accessible to Everyone','ultimate-member') . '</label><br />
<label><input type="radio" name="_um_accessible" value="1" ' . checked( 1, $_um_accessible, 0 ) . ' /> ' . __('Content accessible to Logged Out Users','ultimate-member') . '</label><br />
<label><input type="radio" name="_um_accessible" value="2" ' . checked( 2, $_um_accessible, 0 ) . ' /> ' . __('Content accessible to Logged In Users','ultimate-member') . '</label>';
echo '<p class="description">Who can see content/posts in this category.</p>';
echo "</td></tr>";
echo "<tr class='form-field form-required term-roles-wrap'>";
echo "<th scope='row'><label>" . __('Roles who can see the content','ultimatemember') . "</label></th>";
echo "<th scope='row'><label>" . __('Roles who can see the content','ultimate-member') . "</label></th>";
echo '<td>';
foreach($ultimatemember->query->get_roles() as $role_id => $role) {
if ( ( isset( $_um_roles ) && is_array( $_um_roles ) && in_array($role_id, $_um_roles ) ) || ( isset( $_um_roles ) && $role_id == $_um_roles ) ) {
@@ -130,20 +130,20 @@
}
echo '<label><input type="checkbox" name="_um_roles[]" value="' . $role_id . '" ' . $checked . ' /> ' . $role . '</label>&nbsp;&nbsp;';
}
echo '<p class="description">' . __('This is applicable only if you restrict the content to logged-in users.','ultimatemember') . '</p>';
echo '<p class="description">' . __('This is applicable only if you restrict the content to logged-in users.','ultimate-member') . '</p>';
echo "</td></tr>";
echo "<tr class='form-field form-required term-roles-wrap'>";
echo "<th scope='row'><label>" . __('Content Restriction Redirect URL','ultimatemember') . "</label></th>";
echo "<th scope='row'><label>" . __('Content Restriction Redirect URL','ultimate-member') . "</label></th>";
echo '<td>';
echo '<input type="text" name="_um_redirect" id="_um_redirect" value="' . $_um_redirect . '" />';
echo '<p class="description">' . __('Users who cannot see content will get redirected to that URL.','ultimatemember') . '</p>';
echo '<p class="description">' . __('Users who cannot see content will get redirected to that URL.','ultimate-member') . '</p>';
echo "</td></tr>";
echo "<tr class='form-field form-required term-redirect-wrap'>";
echo "<th scope='row'><label>" . __('Content Restriction Redirect URL','ultimatemember') . "</label></th>";
echo "<th scope='row'><label>" . __('Content Restriction Redirect URL','ultimate-member') . "</label></th>";
echo '<td>';
echo '<input type="text" name="_um_redirect2" id="_um_redirect2" value="' . $_um_redirect2 . '" />';
echo '<p class="description">' . __('Users who cannot see content will get redirected to that URL.','ultimatemember') . '</p>';
echo '<p class="description">' . __('Users who cannot see content will get redirected to that URL.','ultimate-member') . '</p>';
echo "</td></tr>";
}
@@ -217,13 +217,13 @@
?>
<h4><?php _e('This is a translation of UM profile page?','ultimatemember'); ?></h4>
<h4><?php _e('This is a translation of UM profile page?','ultimate-member'); ?></h4>
<p>
<span><?php $instance->ui_on_off( '_um_wpml_user', 0 ); ?></span>
</p>
<h4><?php _e('This is a translation of UM account page?','ultimatemember'); ?></h4>
<h4><?php _e('This is a translation of UM account page?','ultimate-member'); ?></h4>
<p>
<span><?php $instance->ui_on_off( '_um_wpml_account', 0 ); ?></span>
@@ -304,7 +304,7 @@
$n = array(
'post_type' => 'um_form',
'post_title' => sprintf(__('Duplicate of %s','ultimatemember'), get_the_title($post_id) ),
'post_title' => sprintf(__('Duplicate of %s','ultimate-member'), get_the_title($post_id) ),
'post_status' => 'publish',
'post_author' => um_user('ID'),
);
+5 -5
View File
@@ -94,8 +94,8 @@ class UM_Admin_Builder {
<!-- Master Row Actions -->
<div class="um-admin-drag-row-icons">
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimatemember'); ?>" data-row_action="add_subrow"><i class="um-icon-plus"></i></a>
<a href="#" class="um-admin-drag-row-edit um-admin-tipsy-n" title="<?php _e('Edit Row','ultimatemember'); ?>" data-modal="UM_edit_row" data-modal-size="normal" data-dynamic-content="um_admin_edit_field_popup" data-arg1="row" data-arg2="<?php echo $this->form_id; ?>" data-arg3="_um_row_1"><i class="um-faicon-pencil"></i></a>
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimate-member'); ?>" data-row_action="add_subrow"><i class="um-icon-plus"></i></a>
<a href="#" class="um-admin-drag-row-edit um-admin-tipsy-n" title="<?php _e('Edit Row','ultimate-member'); ?>" data-modal="UM_edit_row" data-modal-size="normal" data-dynamic-content="um_admin_edit_field_popup" data-arg1="row" data-arg2="<?php echo $this->form_id; ?>" data-arg3="_um_row_1"><i class="um-faicon-pencil"></i></a>
<span class="um-admin-drag-row-start"><i class="um-icon-arrow-move"></i></span>
</div><div class="um-admin-clear"></div>
@@ -164,11 +164,11 @@ class UM_Admin_Builder {
<!-- Master Row Actions -->
<div class="um-admin-drag-row-icons">
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimatemember'); ?>" data-row_action="add_subrow"><i class="um-icon-plus"></i></a>
<a href="#" class="um-admin-drag-row-edit um-admin-tipsy-n" title="<?php _e('Edit Row','ultimatemember'); ?>" data-modal="UM_edit_row" data-modal-size="normal" data-dynamic-content="um_admin_edit_field_popup" data-arg1="row" data-arg2="<?php echo $this->form_id; ?>" data-arg3="<?php echo $row_id; ?>"><i class="um-faicon-pencil"></i></a>
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimate-member'); ?>" data-row_action="add_subrow"><i class="um-icon-plus"></i></a>
<a href="#" class="um-admin-drag-row-edit um-admin-tipsy-n" title="<?php _e('Edit Row','ultimate-member'); ?>" data-modal="UM_edit_row" data-modal-size="normal" data-dynamic-content="um_admin_edit_field_popup" data-arg1="row" data-arg2="<?php echo $this->form_id; ?>" data-arg3="<?php echo $row_id; ?>"><i class="um-faicon-pencil"></i></a>
<span class="um-admin-drag-row-start"><i class="um-icon-arrow-move"></i></span>
<?php if ( $row_id != '_um_row_1' ) {?>
<a href="#" class="um-admin-tipsy-n" title="<?php _e('Delete Row','ultimatemember'); ?>" data-remove_element="um-admin-drag-row"><i class="um-faicon-trash-o"></i></a>
<a href="#" class="um-admin-tipsy-n" title="<?php _e('Delete Row','ultimate-member'); ?>" data-remove_element="um-admin-drag-row"><i class="um-faicon-trash-o"></i></a>
<?php } ?>
</div><div class="um-admin-clear"></div>
+1 -1
View File
@@ -22,7 +22,7 @@ class UM_Admin_Columns {
function post_row_actions($actions, $post){
//check for your post type
if ($post->post_type =="um_form"){
$actions['um_duplicate'] = '<a href="' . $this->duplicate_uri( $post->ID ) . '">' . __('Duplicate','ultimatemember') . '</a>';
$actions['um_duplicate'] = '<a href="' . $this->duplicate_uri( $post->ID ) . '">' . __('Duplicate','ultimate-member') . '</a>';
}
return $actions;
}
+8 -8
View File
@@ -41,7 +41,7 @@ class UM_Admin_Dashboard {
// Change the footer text
if ( ! get_option( 'um_admin_footer_text_rated' ) ) {
$footer_text = sprintf( __( 'If you like Ultimate Member please consider leaving a %s&#9733;&#9733;&#9733;&#9733;&#9733;%s review. It will help us to grow the plugin and make it more popular. Thank you.', 'ultimatemember' ), '<a href="https://wordpress.org/support/plugin/ultimate-member/reviews/?filter=5" target="_blank" class="um-admin-rating-link" data-rated="' . __( 'Thanks :)', 'ultimatemember' ) . '">', '</a>' );
$footer_text = sprintf( __( 'If you like Ultimate Member please consider leaving a %s&#9733;&#9733;&#9733;&#9733;&#9733;%s review. It will help us to grow the plugin and make it more popular. Thank you.', 'ultimate-member'), '<a href="https://wordpress.org/support/plugin/ultimate-member/reviews/?filter=5" target="_blank" class="um-admin-rating-link" data-rated="' . __( 'Thanks :)', 'ultimate-member') . '">', '</a>' );
$footer_text .= "<script type='text/javascript'>
jQuery('a.um-admin-rating-link').click(function() {
@@ -174,19 +174,19 @@ class UM_Admin_Dashboard {
/** custom metaboxes for dashboard defined here **/
add_meta_box('um-metaboxes-contentbox-1', __('Users Overview','ultimatemember'), array(&$this, 'users_overview'), $this->pagehook, 'core', 'core');
add_meta_box('um-metaboxes-contentbox-1', __('Users Overview','ultimate-member'), array(&$this, 'users_overview'), $this->pagehook, 'core', 'core');
add_meta_box('um-metaboxes-mainbox-1', __('Latest from our blog','ultimatemember'), array(&$this, 'um_news'), $this->pagehook, 'normal', 'core');
add_meta_box('um-metaboxes-mainbox-1', __('Latest from our blog','ultimate-member'), array(&$this, 'um_news'), $this->pagehook, 'normal', 'core');
add_meta_box('um-metaboxes-sidebox-1', __('Purge Temp Files','ultimatemember'), array(&$this, 'purge_temp'), $this->pagehook, 'side', 'core');
add_meta_box('um-metaboxes-sidebox-2', __('User Cache','ultimatemember'), array(&$this, 'user_cache'), $this->pagehook, 'side', 'core');
add_meta_box('um-metaboxes-sidebox-1', __('Purge Temp Files','ultimate-member'), array(&$this, 'purge_temp'), $this->pagehook, 'side', 'core');
add_meta_box('um-metaboxes-sidebox-2', __('User Cache','ultimate-member'), array(&$this, 'user_cache'), $this->pagehook, 'side', 'core');
if ( $this->language_avaialable_not_installed() ) {
add_meta_box('um-metaboxes-sidebox-2', __('Language','ultimatemember'), array(&$this, 'dl_language'), $this->pagehook, 'side', 'core');
add_meta_box('um-metaboxes-sidebox-2', __('Language','ultimate-member'), array(&$this, 'dl_language'), $this->pagehook, 'side', 'core');
} else if ( $this->language_avaialable_installed() ) {
add_meta_box('um-metaboxes-sidebox-2', __('Language','ultimatemember'), array(&$this, 'up_language'), $this->pagehook, 'side', 'core');
add_meta_box('um-metaboxes-sidebox-2', __('Language','ultimate-member'), array(&$this, 'up_language'), $this->pagehook, 'side', 'core');
} else if ( $this->language_not_available() ) {
add_meta_box('um-metaboxes-sidebox-2', __('Language','ultimatemember'), array(&$this, 'ct_language'), $this->pagehook, 'side', 'core');
add_meta_box('um-metaboxes-sidebox-2', __('Language','ultimate-member'), array(&$this, 'ct_language'), $this->pagehook, 'side', 'core');
}
}
+5 -5
View File
@@ -146,10 +146,10 @@ class UM_Admin_DragDrop {
<div class="um-col-demon-row" style="display:none;">
<div class="um-admin-drag-row-icons">
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimatemember'); ?>" data-row_action="add_subrow"><i class="um-icon-plus"></i></a>
<a href="#" class="um-admin-drag-row-edit um-admin-tipsy-n" title="<?php _e('Edit Row','ultimatemember'); ?>" data-modal="UM_edit_row" data-modal-size="normal" data-dynamic-content="um_admin_edit_field_popup" data-arg1="row" data-arg2="<?php echo get_the_ID(); ?>"><i class="um-faicon-pencil"></i></a>
<a href="#" class="um-admin-drag-rowsub-add um-admin-tipsy-n" title="<?php _e('Add Row','ultimate-member'); ?>" data-row_action="add_subrow"><i class="um-icon-plus"></i></a>
<a href="#" class="um-admin-drag-row-edit um-admin-tipsy-n" title="<?php _e('Edit Row','ultimate-member'); ?>" data-modal="UM_edit_row" data-modal-size="normal" data-dynamic-content="um_admin_edit_field_popup" data-arg1="row" data-arg2="<?php echo get_the_ID(); ?>"><i class="um-faicon-pencil"></i></a>
<span class="um-admin-drag-row-start"><i class="um-icon-arrow-move"></i></span>
<a href="#" class="um-admin-tipsy-n" title="<?php _e('Delete Row','ultimatemember'); ?>" data-remove_element="um-admin-drag-row"><i class="um-faicon-trash-o"></i></a>
<a href="#" class="um-admin-tipsy-n" title="<?php _e('Delete Row','ultimate-member'); ?>" data-remove_element="um-admin-drag-row"><i class="um-faicon-trash-o"></i></a>
</div><div class="um-admin-clear"></div>
<div class="um-admin-drag-rowsubs">
@@ -163,7 +163,7 @@ class UM_Admin_DragDrop {
<div class="um-admin-drag-rowsub-icons">
<span class="um-admin-drag-rowsub-start"><i class="um-icon-arrow-move"></i></span>
<a href="#" class="um-admin-tipsy-n" title="<?php _e('Delete Row','ultimatemember'); ?>" data-remove_element="um-admin-drag-rowsub"><i class="um-faicon-trash-o"></i></a>
<a href="#" class="um-admin-tipsy-n" title="<?php _e('Delete Row','ultimate-member'); ?>" data-remove_element="um-admin-drag-rowsub"><i class="um-faicon-trash-o"></i></a>
</div><div class="um-admin-clear"></div>
<div class="um-admin-drag-col">
@@ -188,7 +188,7 @@ class UM_Admin_DragDrop {
<div class="um-admin-drag-rowsub-icons">
<span class="um-admin-drag-rowsub-start"><i class="um-icon-arrow-move"></i></span>
<a href="#" class="um-admin-tipsy-n" title="<?php _e('Delete Row','ultimatemember'); ?>" data-remove_element="um-admin-drag-rowsub"><i class="um-faicon-trash-o"></i></a>
<a href="#" class="um-admin-tipsy-n" title="<?php _e('Delete Row','ultimate-member'); ?>" data-remove_element="um-admin-drag-rowsub"><i class="um-faicon-trash-o"></i></a>
</div><div class="um-admin-clear"></div>
<div class="um-admin-drag-col">
+1 -1
View File
@@ -232,7 +232,7 @@ class UM_Admin_Enqueue {
if ( !is_admin() ) return false;
if ( strstr( $screen_id, 'ultimatemember') || strstr( $screen_id, 'um_') || strstr($screen_id, 'user') || strstr($screen_id, 'profile') )return true;
if ( strstr( $screen_id, 'ultimatemember' ) || strstr( $screen_id, 'um_') || strstr($screen_id, 'user') || strstr($screen_id, 'profile') )return true;
if ( $screen_id == 'nav-menus' ) return true;
+16 -16
View File
@@ -23,7 +23,7 @@ class UM_Admin_Metabox {
function is_UM_admin(){
global $current_screen;
$screen_id = $current_screen->id;
if ( is_admin() && ( strstr( $screen_id, 'ultimatemember') || strstr( $screen_id, 'um_') || strstr($screen_id, 'user') || strstr($screen_id, 'profile') ) )
if ( is_admin() && ( strstr( $screen_id, 'ultimatemember' ) || strstr( $screen_id, 'um_') || strstr($screen_id, 'user') || strstr($screen_id, 'profile') ) )
return true;
return false;
}
@@ -251,23 +251,23 @@ class UM_Admin_Metabox {
***/
function add_metabox_role() {
add_meta_box('um-admin-form-sync', __('Sync with WordPress Role','ultimatemember'), array(&$this, 'load_metabox_role'), 'um_role', 'side', 'default');
add_meta_box('um-admin-form-sync', __('Sync with WordPress Role','ultimate-member'), array(&$this, 'load_metabox_role'), 'um_role', 'side', 'default');
add_meta_box('um-admin-form-admin', __('Administrative Permissions','ultimatemember'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-admin', __('Administrative Permissions','ultimate-member'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-general', __('General Permissions','ultimatemember'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-general', __('General Permissions','ultimate-member'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-profile', __('Profile Access','ultimatemember'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-profile', __('Profile Access','ultimate-member'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-home', __('Homepage Options','ultimatemember'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-home', __('Homepage Options','ultimate-member'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-register', __('Registration Options','ultimatemember'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-register', __('Registration Options','ultimate-member'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-login', __('Login Options','ultimatemember'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-login', __('Login Options','ultimate-member'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-logout', __('Logout Options','ultimatemember'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-logout', __('Logout Options','ultimate-member'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-delete', __('Delete Options','ultimatemember'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
add_meta_box('um-admin-form-delete', __('Delete Options','ultimate-member'), array(&$this, 'load_metabox_role'), 'um_role', 'normal', 'default');
do_action('um_admin_custom_role_metaboxes');
@@ -464,7 +464,7 @@ class UM_Admin_Metabox {
case '_visibility':
?>
<p><label for="_visibility">Visibility <?php $this->tooltip( __('Select where this field should appear. This option should only be changed on the profile form and allows you to show a field in one mode only (edit or view) or in both modes.','ultimatemember') ); ?></label>
<p><label for="_visibility">Visibility <?php $this->tooltip( __('Select where this field should appear. This option should only be changed on the profile form and allows you to show a field in one mode only (edit or view) or in both modes.','ultimate-member') ); ?></label>
<select name="_visibility" id="_visibility" class="umaf-selectjs" style="width: 100%">
<option value="all" <?php selected( 'all', $this->edit_mode_value ); ?>>View everywhere</option>
<option value="edit" <?php selected( 'edit', $this->edit_mode_value ); ?>>Edit mode only</option>
@@ -687,7 +687,7 @@ class UM_Admin_Metabox {
case '_divider_text':
?>
<p><label for="_divider_text">Optional Text <?php $this->tooltip( __('Optional text to include with the divider','ultimatemember') ); ?></label>
<p><label for="_divider_text">Optional Text <?php $this->tooltip( __('Optional text to include with the divider','ultimate-member') ); ?></label>
<input type="text" name="_divider_text" id="_divider_text" value="<?php echo ( $this->edit_mode_value ) ? $this->edit_mode_value : ''; ?>" />
</p>
@@ -878,7 +878,7 @@ class UM_Admin_Metabox {
case '_force_good_pass':
?>
<p><label for="_force_good_pass">Force strong password? <?php $this->tooltip( __('Turn on to force users to create a strong password (A combination of one lowercase letter, one uppercase letter, and one number). If turned on this option is only applied to register forms and not to login forms.','ultimatemember') ); ?></label>
<p><label for="_force_good_pass">Force strong password? <?php $this->tooltip( __('Turn on to force users to create a strong password (A combination of one lowercase letter, one uppercase letter, and one number). If turned on this option is only applied to register forms and not to login forms.','ultimate-member') ); ?></label>
<?php if ( isset( $this->edit_mode_value ) ) $this->ui_on_off('_force_good_pass', $this->edit_mode_value ); else $this->ui_on_off('_force_good_pass', 0 ); ?>
</p>
@@ -888,7 +888,7 @@ class UM_Admin_Metabox {
case '_force_confirm_pass':
?>
<p><label for="_force_confirm_pass">Automatically add a confirm password field? <?php $this->tooltip( __('Turn on to add a confirm password field. If turned on the confirm password field will only show on register forms and not on login forms.','ultimatemember') ); ?></label>
<p><label for="_force_confirm_pass">Automatically add a confirm password field? <?php $this->tooltip( __('Turn on to add a confirm password field. If turned on the confirm password field will only show on register forms and not on login forms.','ultimate-member') ); ?></label>
<?php if ( isset( $this->edit_mode_value ) ) $this->ui_on_off('_force_confirm_pass', $this->edit_mode_value ); else $this->ui_on_off('_force_confirm_pass', 1 ); ?>
</p>
@@ -1252,7 +1252,7 @@ class UM_Admin_Metabox {
case '_min':
?>
<p><label for="_min">Minimum Number <?php $this->tooltip( __('Minimum number that can be entered in this field','ultimatemember') ); ?></label>
<p><label for="_min">Minimum Number <?php $this->tooltip( __('Minimum number that can be entered in this field','ultimate-member') ); ?></label>
<input type="text" name="_min" id="_min" value="<?php echo $this->edit_mode_value; ?>" />
</p>
@@ -1262,7 +1262,7 @@ class UM_Admin_Metabox {
case '_max':
?>
<p><label for="_max">Maximum Number <?php $this->tooltip( __('Maximum number that can be entered in this field','ultimatemember') ); ?></label>
<p><label for="_max">Maximum Number <?php $this->tooltip( __('Maximum number that can be entered in this field','ultimate-member') ); ?></label>
<input type="text" name="_max" id="_max" value="<?php echo $this->edit_mode_value; ?>" />
</p>
+18 -18
View File
@@ -47,7 +47,7 @@ class UM_Admin_Notices {
echo '<div class="updated" style="border-color: #3ba1da;"><p>';
echo sprintf(__( 'Registration is disabled. Please go to the <a href="%s">general settings</a> page in the WordPress admin and select anyone can register. <a href="%s">Hide this notice</a>', 'ultimatemember' ), admin_url('options-general.php'), add_query_arg('um_adm_action', 'um_can_register_notice') );
echo sprintf(__( 'Registration is disabled. Please go to the <a href="%s">general settings</a> page in the WordPress admin and select anyone can register. <a href="%s">Hide this notice</a>', 'ultimate-member'), admin_url('options-general.php'), add_query_arg('um_adm_action', 'um_can_register_notice') );
echo '</p></div>';
@@ -59,7 +59,7 @@ class UM_Admin_Notices {
echo '<div class="updated" style="border-color: #3ba1da;"><p>';
echo sprintf(__( 'Exif is not enabled on your server. Mobile photo uploads will not be rotated correctly until you enable the exif extension. <a href="%s">Hide this notice</a>', 'ultimatemember' ), add_query_arg('um_adm_action', 'um_hide_exif_notice') );
echo sprintf(__( 'Exif is not enabled on your server. Mobile photo uploads will not be rotated correctly until you enable the exif extension. <a href="%s">Hide this notice</a>', 'ultimate-member'), add_query_arg('um_adm_action', 'um_hide_exif_notice') );
echo '</p></div>';
@@ -81,20 +81,20 @@ class UM_Admin_Notices {
}
if ( $err ) {
echo '<div class="updated" style="border-color: #3ba1da;"><p>' . __('One or more of your Ultimate Member pages are not correctly setup. Please visit <strong>Ultimate Member > Settings</strong> to re-assign your missing pages.','ultimatemember') . '</p></div>';
echo '<div class="updated" style="border-color: #3ba1da;"><p>' . __('One or more of your Ultimate Member pages are not correctly setup. Please visit <strong>Ultimate Member > Settings</strong> to re-assign your missing pages.','ultimate-member') . '</p></div>';
}
if ( isset( $pages['user'] ) ) {
$test = get_post( $pages['user'] );
if ( isset( $test->post_parent ) && $test->post_parent > 0 ) {
echo '<div class="updated" style="border-color: #3ba1da;"><p>' . __('Ultimate Member Setup Error: User page can not be a child page.','ultimatemember') . '</p></div>';
echo '<div class="updated" style="border-color: #3ba1da;"><p>' . __('Ultimate Member Setup Error: User page can not be a child page.','ultimate-member') . '</p></div>';
}
}
if ( isset( $pages['account'] ) ) {
$test = get_post( $pages['account'] );
if ( isset( $test->post_parent ) && $test->post_parent > 0 ) {
echo '<div class="updated" style="border-color: #3ba1da;"><p>' . __('Ultimate Member Setup Error: Account page can not be a child page.','ultimatemember') . '</p></div>';
echo '<div class="updated" style="border-color: #3ba1da;"><p>' . __('Ultimate Member Setup Error: Account page can not be a child page.','ultimate-member') . '</p></div>';
}
}
@@ -125,7 +125,7 @@ class UM_Admin_Notices {
if ( !$hide_locale_notice ) {
echo '<div class="updated" style="border-color: #3ba1da;"><p>';
echo 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>','ultimatemember'), $locale, $ultimatemember->available_languages[$locale], $download_uri, add_query_arg('um_adm_action', 'um_hide_locale_notice') );
echo 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, $ultimatemember->available_languages[$locale], $download_uri, add_query_arg('um_adm_action', 'um_hide_locale_notice') );
echo '</p></div>';
}
@@ -138,7 +138,7 @@ class UM_Admin_Notices {
echo '<div class="updated" style="border-color: #3ba1da;"><p>';
echo sprintf(__('Ultimate Member has not yet been translated to your langeuage: <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>','ultimatemember'), $locale, add_query_arg('um_adm_action', 'um_hide_locale_notice') );
echo sprintf(__('Ultimate Member has not yet been translated to your langeuage: <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') );
echo '</p></div>';
@@ -175,42 +175,42 @@ class UM_Admin_Notices {
$ignore = admin_url('users.php');
$messages[0]['err_content'] = sprintf(__('Are you sure you want to delete the selected user(s)? The following users will be deleted: <p>%s</p> <strong>This cannot be undone!</strong>','ultimatemember'), $users);
$messages[0]['err_content'] .= '<p><a href="'. esc_html( $confirm_uri ) .'" class="button-primary">' . __('Remove','ultimatemember') . '</a>&nbsp;&nbsp;<a href="'.$ignore.'" class="button">' . __('Undo','ultimatemember') . '</a></p>';
$messages[0]['err_content'] = sprintf(__('Are you sure you want to delete the selected user(s)? The following users will be deleted: <p>%s</p> <strong>This cannot be undone!</strong>','ultimate-member'), $users);
$messages[0]['err_content'] .= '<p><a href="'. esc_html( $confirm_uri ) .'" class="button-primary">' . __('Remove','ultimate-member') . '</a>&nbsp;&nbsp;<a href="'.$ignore.'" class="button">' . __('Undo','ultimate-member') . '</a></p>';
break;
case 'language_updated':
$messages[0]['content'] = __('Your translation files have been updated successfully.','ultimatemember');
$messages[0]['content'] = __('Your translation files have been updated successfully.','ultimate-member');
break;
case 'purged_temp':
$messages[0]['content'] = __('Your temp uploads directory is now clean.','ultimatemember');
$messages[0]['content'] = __('Your temp uploads directory is now clean.','ultimate-member');
break;
case 'cleared_cache':
$messages[0]['content'] = __('Your user cache is now removed.','ultimatemember');
$messages[0]['content'] = __('Your user cache is now removed.','ultimate-member');
break;
case 'form_duplicated':
$messages[0]['content'] = __('The form has been duplicated successfully.','ultimatemember');
$messages[0]['content'] = __('The form has been duplicated successfully.','ultimate-member');
break;
case 'user_updated':
$messages[0]['content'] = __('User has been updated.','ultimatemember');
$messages[0]['content'] = __('User has been updated.','ultimate-member');
break;
case 'users_updated':
$messages[0]['content'] = __('Users have been updated.','ultimatemember');
$messages[0]['content'] = __('Users have been updated.','ultimate-member');
break;
case 'users_role_updated':
$messages[0]['content'] = __('Changed roles.','ultimatemember');
$messages[0]['content'] = __('Changed roles.','ultimate-member');
break;
case 'err_users_updated':
$messages[0]['err_content'] = __('Super administrators cannot be modified.','ultimatemember');
$messages[1]['content'] = __('Other users have been updated.','ultimatemember');
$messages[0]['err_content'] = __('Super administrators cannot be modified.','ultimate-member');
$messages[1]['content'] = __('Other users have been updated.','ultimate-member');
}
+3 -3
View File
@@ -52,12 +52,12 @@
$this->args = array(
'opt_name' => 'um_options', // This is where your data is stored in the database and also becomes your global variable name.
'display_name' => __('Ultimate Member', 'ultimatemember'), // Name that appears at the top of your panel
'display_name' => __('Ultimate Member', 'ultimate-member'), // Name that appears at the top of your panel
'display_version' => ultimatemember_version, // Version that appears at the top of your panel
'menu_type' => 'submenu', //Specify if the admin menu should appear or not. Options: menu or submenu (Under appearance only)
'allow_sub_menu' => false, // Show the sections below the admin menu item or not
'menu_title' => __('Settings', 'ultimatemember'),
'page_title' => __('Settings', 'ultimatemember'),
'menu_title' => __('Settings', 'ultimate-member'),
'page_title' => __('Settings', 'ultimate-member'),
'google_api_key' => '', // Must be defined to add google fonts to the typography module
'async_typography' => true, // Use a asynchronous font on the front end or font string
+7 -7
View File
@@ -29,10 +29,10 @@ class UM_Admin_Roles {
$admin = new UM_Admin_Metabox();
$new_columns['cb'] = '<input type="checkbox" />';
$new_columns['title'] = __('Role Title','ultimatemember');
$new_columns['count'] = __('No. of Members','ultimatemember') . $admin->_tooltip( __('The total number of members who have this role on your site','ultimatemember') );
$new_columns['core'] = __('Core / Built-in','ultimatemember') . $admin->_tooltip( __('A core role is installed by default and may not be removed','ultimatemember') );
$new_columns['has_wpadmin_perm'] = __('WP-Admin Access','ultimatemember') . $admin->_tooltip( __('Let you know If users of this role can view the WordPress backend or not','ultimatemember') );
$new_columns['title'] = __('Role Title','ultimate-member');
$new_columns['count'] = __('No. of Members','ultimate-member') . $admin->_tooltip( __('The total number of members who have this role on your site','ultimate-member') );
$new_columns['core'] = __('Core / Built-in','ultimate-member') . $admin->_tooltip( __('A core role is installed by default and may not be removed','ultimate-member') );
$new_columns['has_wpadmin_perm'] = __('WP-Admin Access','ultimate-member') . $admin->_tooltip( __('Let you know If users of this role can view the WordPress backend or not','ultimate-member') );
return $new_columns;
@@ -55,9 +55,9 @@ class UM_Admin_Roles {
}
$data = $ultimatemember->query->role_data($role);
if ( isset( $data['can_access_wpadmin'] ) && $data['can_access_wpadmin'] == 1 ){
echo '<span class="um-adm-ico um-admin-tipsy-n" title="'.__('This role can access the WordPress backend','ultimatemember').'"><i class="um-faicon-check"></i></span>';
echo '<span class="um-adm-ico um-admin-tipsy-n" title="'.__('This role can access the WordPress backend','ultimate-member').'"><i class="um-faicon-check"></i></span>';
} else {
echo __('No','ultimatemember');
echo __('No','ultimate-member');
}
break;
@@ -73,7 +73,7 @@ class UM_Admin_Roles {
case 'core':
if ( $ultimatemember->query->is_core( $id ) ) {
echo '<span class="um-adm-ico um-admin-tipsy-n" title="'.__('Core','ultimatemember').'"><i class="um-faicon-check"></i></span>';
echo '<span class="um-adm-ico um-admin-tipsy-n" title="'.__('Core','ultimate-member').'"><i class="um-faicon-check"></i></span>';
} else {
echo '&mdash;';
}
+16 -16
View File
@@ -32,10 +32,10 @@ class UM_Admin_Users {
$user_id = $user_object->ID;
um_fetch_user( $user_id );
$actions['frontend_profile'] = "<a class='' href='" . um_user_profile_url() . "'>" . __( 'View profile','ultimatemember') . "</a>";
$actions['frontend_profile'] = "<a class='' href='" . um_user_profile_url() . "'>" . __( 'View profile','ultimate-member') . "</a>";
if ( um_user('submitted') ) {
$actions['view_info'] = '<a href="#" data-modal="UM_preview_registration" data-modal-size="smaller" data-dynamic-content="um_admin_review_registration" data-arg1="'.$user_id.'" data-arg2="edit_registration">' . __('Info','ultimatemember') . '</a>';
$actions['view_info'] = '<a href="#" data-modal="UM_preview_registration" data-modal-size="smaller" data-dynamic-content="um_admin_review_registration" data-arg1="'.$user_id.'" data-arg2="edit_registration">' . __('Info','ultimate-member') . '</a>';
}
$actions = apply_filters('um_admin_user_row_actions', $actions, $user_id );
@@ -126,11 +126,11 @@ class UM_Admin_Users {
}
$status = array(
'approved' => __('Approved','ultimatemember'),
'awaiting_admin_review' => __('Pending review','ultimatemember'),
'awaiting_email_confirmation' => __('Waiting e-mail confirmation','ultimatemember'),
'inactive' => __('Inactive','ultimatemember'),
'rejected' => __('Rejected','ultimatemember')
'approved' => __('Approved','ultimate-member'),
'awaiting_admin_review' => __('Pending review','ultimate-member'),
'awaiting_email_confirmation' => __('Waiting e-mail confirmation','ultimate-member'),
'inactive' => __('Inactive','ultimate-member'),
'rejected' => __('Rejected','ultimate-member')
);
$ultimatemember->query->count_users_by_status( 'unassigned' );
@@ -175,7 +175,7 @@ class UM_Admin_Users {
if (isset($_REQUEST['users']) && is_array($_REQUEST['users']) && isset($_REQUEST['um_changeit']) && $_REQUEST['um_changeit'] != '' && isset($_REQUEST['um_change_role']) && !empty($_REQUEST['um_change_role']) ){
if ( ! current_user_can( 'edit_users' ) )
wp_die( __( 'You do not have enough permissions to do that.','ultimatemember') );
wp_die( __( 'You do not have enough permissions to do that.','ultimate-member') );
check_admin_referer('bulk-users');
@@ -233,7 +233,7 @@ class UM_Admin_Users {
if ( isset($_REQUEST['users']) && is_array($_REQUEST['users']) && isset($_REQUEST['um_bulkedit']) && $_REQUEST['um_bulkedit'] != '' && isset($_REQUEST['um_bulk_action']) && !empty($_REQUEST['um_bulk_action']) ){
if ( ! current_user_can( 'edit_users' ) )
wp_die( __( 'You do not have enough permissions to do that.','ultimatemember') );
wp_die( __( 'You do not have enough permissions to do that.','ultimate-member') );
check_admin_referer('bulk-users');
@@ -304,9 +304,9 @@ class UM_Admin_Users {
<div style="float:right;margin:0 4px">
<label class="screen-reader-text" for="um_filter_role"><?php _e('Filter by','ultimatemember'); ?></label>
<label class="screen-reader-text" for="um_filter_role"><?php _e('Filter by','ultimate-member'); ?></label>
<select name="um_filter_role[]" id="um_filter_role" class="" style="width: 120px">
<option value="0"><?php _e('Filter by','ultimatemember'); ?></option>
<option value="0"><?php _e('Filter by','ultimate-member'); ?></option>
<?php
$roles = $ultimatemember->query->get_roles();
$um_filter_role = '';
@@ -325,9 +325,9 @@ class UM_Admin_Users {
<div style="float:right;margin:0 4px">
<label class="screen-reader-text" for="um_bulk_action"><?php _e('UM Action','ultimatemember'); ?></label>
<label class="screen-reader-text" for="um_bulk_action"><?php _e('UM Action','ultimate-member'); ?></label>
<select name="um_bulk_action[]" id="um_bulk_action" class="" style="width: 200px">
<option value="0"><?php _e('UM Action','ultimatemember'); ?></option>
<option value="0"><?php _e('UM Action','ultimate-member'); ?></option>
<?php echo $ultimatemember->user->get_bulk_admin_actions(); ?>
</select>
@@ -337,14 +337,14 @@ class UM_Admin_Users {
<div style="float:right;margin:0 4px">
<label class="screen-reader-text" for="um_change_role"><?php _e('Community role&hellip;','ultimatemember'); ?></label>
<label class="screen-reader-text" for="um_change_role"><?php _e('Community role&hellip;','ultimate-member'); ?></label>
<select name="um_change_role[]" id="um_change_role" class="" style="width: 160px">
<?php foreach($ultimatemember->query->get_roles( $add_default = 'Community role&hellip;' ) as $key => $value) { ?>
<option value="<?php echo $key; ?>"><?php echo $value; ?></option>
<?php } ?>
</select>
<input name="um_changeit" id="um_changeit" class="button" value="<?php _e('Change','ultimatemember'); ?>" type="submit" />
<input name="um_changeit" id="um_changeit" class="button" value="<?php _e('Change','ultimate-member'); ?>" type="submit" />
</div>
@@ -363,7 +363,7 @@ class UM_Admin_Users {
$admin = new UM_Admin_Metabox();
$columns['um_role'] = __('Community Role','ultimatemember') . $admin->_tooltip( __('This is the membership role set by Ultimate Member plugin','ultimatemember') );
$columns['um_role'] = __('Community Role','ultimate-member') . $admin->_tooltip( __('This is the membership role set by Ultimate Member plugin','ultimate-member') );
return $columns;
}