updating to 1.0.16

This commit is contained in:
ultimatemember
2015-01-22 18:36:29 +02:00
parent 7417611957
commit 95e6fa31f0
19 changed files with 1540 additions and 344 deletions
+1 -1
View File
@@ -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>
+2 -2
View File
@@ -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>
+5
View File
@@ -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' );
}