mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 22:54:03 +09:00
updating to 1.0.16
This commit is contained in:
@@ -418,7 +418,7 @@ class UM_Admin_Metabox {
|
||||
case '_visibility':
|
||||
?>
|
||||
|
||||
<p><label for="_visibility">Visibility <?php $this->tooltip('Where this field should appear?'); ?></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.','ultimatemember') ); ?></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>
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
</div>
|
||||
|
||||
<div class="last-feature">
|
||||
<h4>Membership Levels</h4>
|
||||
<p>Create unlimited, custom <a href="<?php echo admin_url('edit.php?post_type=um_role'); ?>">membership levels</a> and set up permissions for each membership level easily.</p>
|
||||
<h4>User Roles</h4>
|
||||
<p>Create unlimited, custom <a href="<?php echo admin_url('edit.php?post_type=um_role'); ?>">user roles</a> and set up permissions for each user role easily.</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
@@ -14,6 +14,11 @@ class UM_Admin_API {
|
||||
add_action('admin_menu', array(&$this, 'admin_menu'), 0 );
|
||||
add_action('admin_menu', array(&$this, 'secondary_menu_items'), 1000 );
|
||||
|
||||
$_redux_tracker['dev_mode'] = false;
|
||||
$_redux_tracker['hash'] = md5( network_site_url() . '-' . $_SERVER['REMOTE_ADDR'] );
|
||||
$_redux_tracker['allow_tracking'] = 'no';
|
||||
update_option('redux-framework-tracking', $_redux_tracker);
|
||||
|
||||
if ( !class_exists( 'ReduxFramework' ) && file_exists( um_path . 'admin/core/lib/ReduxFramework/ReduxCore/framework.php' ) ) {
|
||||
require_once( um_path . 'admin/core/lib/ReduxFramework/ReduxCore/framework.php' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user