Version Description
Download this release
Release Info
Developer | champsupertramp |
Plugin | Ultimate Member – User Profile & Membership Plugin |
Version | 1.3.78 |
Comparing to | |
See all releases |
Code changes from version 1.3.77 to 1.3.78
- admin/core/lib/ReduxFramework/{README.txt → readme.txt} +0 -0
- admin/core/um-admin-roles.php +3 -3
- core/um-actions-account.php +1 -1
- core/um-navmenu-walker-edit.php +1 -1
- core/um-navmenu-walker.php +10 -7
- index.php +1 -1
- readme.txt +14 -5
- templates/members-grid.php +3 -0
admin/core/lib/ReduxFramework/{README.txt → readme.txt}
RENAMED
File without changes
|
admin/core/um-admin-roles.php
CHANGED
@@ -11,8 +11,8 @@ class UM_Admin_Roles {
|
|
11 |
}
|
12 |
|
13 |
function remove_row_actions( $actions, $post ){
|
14 |
-
global $
|
15 |
-
if( $
|
16 |
|
17 |
if( $ultimatemember->query->is_core( $post->ID ) ){
|
18 |
unset( $actions['trash'] );
|
@@ -83,4 +83,4 @@ class UM_Admin_Roles {
|
|
83 |
|
84 |
}
|
85 |
|
86 |
-
}
|
11 |
}
|
12 |
|
13 |
function remove_row_actions( $actions, $post ){
|
14 |
+
global $ultimatemember;
|
15 |
+
if( $post->post_type != 'um_role' ) return $actions;
|
16 |
|
17 |
if( $ultimatemember->query->is_core( $post->ID ) ){
|
18 |
unset( $actions['trash'] );
|
83 |
|
84 |
}
|
85 |
|
86 |
+
}
|
core/um-actions-account.php
CHANGED
@@ -213,7 +213,7 @@
|
|
213 |
|
214 |
if ( $output ) { ?>
|
215 |
|
216 |
-
<div class="um-account-heading
|
217 |
|
218 |
<?php echo wpautop( um_get_option('delete_account_text') ); ?>
|
219 |
|
213 |
|
214 |
if ( $output ) { ?>
|
215 |
|
216 |
+
<div class="um-account-heading uimob340-hide uimob500-hide"><i class="<?php echo $icon; ?>"></i><?php echo $title; ?></div>
|
217 |
|
218 |
<?php echo wpautop( um_get_option('delete_account_text') ); ?>
|
219 |
|
core/um-navmenu-walker-edit.php
CHANGED
@@ -9,7 +9,7 @@ class UM_Menu_Item_Custom_Fields_Editor {
|
|
9 |
* Initialize plugin
|
10 |
*/
|
11 |
public static function init() {
|
12 |
-
add_action( 'wp_nav_menu_item_custom_fields', array( __CLASS__, '_fields' ),
|
13 |
add_action( 'wp_update_nav_menu_item', array( __CLASS__, '_save' ), 10, 3 );
|
14 |
add_filter( 'manage_nav-menus_columns', array( __CLASS__, '_columns' ), 99 );
|
15 |
|
9 |
* Initialize plugin
|
10 |
*/
|
11 |
public static function init() {
|
12 |
+
add_action( 'wp_nav_menu_item_custom_fields', array( __CLASS__, '_fields' ), 1, 4 );
|
13 |
add_action( 'wp_update_nav_menu_item', array( __CLASS__, '_save' ), 10, 3 );
|
14 |
add_filter( 'manage_nav-menus_columns', array( __CLASS__, '_columns' ), 99 );
|
15 |
|
core/um-navmenu-walker.php
CHANGED
@@ -5,18 +5,21 @@ class UM_Menu_Item_Custom_Fields_Walker extends Walker_Nav_Menu_Edit {
|
|
5 |
function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
|
6 |
$item_output = '';
|
7 |
parent::start_el( $item_output, $item, $depth, $args, $id );
|
8 |
-
|
9 |
-
|
10 |
-
'/(?=<
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
14 |
}
|
15 |
|
16 |
protected function get_fields( $item, $depth, $args = array(), $id = 0 ) {
|
17 |
ob_start();
|
18 |
|
19 |
-
|
|
|
|
|
20 |
|
21 |
do_action( 'wp_nav_menu_item_custom_fields', $id, $item, $depth, $args );
|
22 |
|
5 |
function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
|
6 |
$item_output = '';
|
7 |
parent::start_el( $item_output, $item, $depth, $args, $id );
|
8 |
+
|
9 |
+
if( $new_fields = $this->get_fields( $item, $depth, $args, $id ) ){
|
10 |
+
$item_output = preg_replace('/(?=<div[^>]+class="[^"]*submitbox)/', $new_fields, $item_output);
|
11 |
+
}
|
12 |
+
|
13 |
+
$output .= $item_output;
|
14 |
+
|
15 |
}
|
16 |
|
17 |
protected function get_fields( $item, $depth, $args = array(), $id = 0 ) {
|
18 |
ob_start();
|
19 |
|
20 |
+
if( isset( $item->ID ) ){
|
21 |
+
$id = esc_attr( $item->ID );
|
22 |
+
}
|
23 |
|
24 |
do_action( 'wp_nav_menu_item_custom_fields', $id, $item, $depth, $args );
|
25 |
|
index.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: 1.3.
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
Text Domain: ultimatemember
|
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: 1.3.78
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
Text Domain: ultimatemember
|
readme.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
=== Ultimate Member ===
|
2 |
Author URI: https://ultimatemember.com/
|
3 |
Plugin URI: https://ultimatemember.com/
|
4 |
Contributors: ultimatemember, champsupertramp
|
5 |
Donate link:
|
6 |
Tags: access control, author, authors, author profile, comments, community, communities, conditional fields, conditional logic, conditional menus, content protection, custom fields, file uploads, form builder, front-end login, front-end registration, gravatar, hide wp-admin, login, login page, logged-in users, mandrill, member, members, membership, member directory, online users, profile, profiles, profile builder, registration, restriction, restrict content, role creation, role menus, search filters, sign in, sign up, social network, star ratings, toolbar, user, users, user fields, user profile, user-profile, user profiles, user roles
|
7 |
Requires at least: 4.1
|
8 |
-
Tested up to: 4.
|
9 |
|
10 |
-
Stable Tag: 1.3.
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
@@ -150,11 +150,20 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
150 |
|
151 |
== Changelog ==
|
152 |
|
153 |
-
= 1.3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
|
155 |
* Bugfixes:
|
156 |
* Fix set and reset password validation.
|
157 |
-
* Remove notices
|
158 |
|
159 |
= 1.3.76: November 30, 2016 =
|
160 |
|
1 |
+
=== Ultimate Member ===
|
2 |
Author URI: https://ultimatemember.com/
|
3 |
Plugin URI: https://ultimatemember.com/
|
4 |
Contributors: ultimatemember, champsupertramp
|
5 |
Donate link:
|
6 |
Tags: access control, author, authors, author profile, comments, community, communities, conditional fields, conditional logic, conditional menus, content protection, custom fields, file uploads, form builder, front-end login, front-end registration, gravatar, hide wp-admin, login, login page, logged-in users, mandrill, member, members, membership, member directory, online users, profile, profiles, profile builder, registration, restriction, restrict content, role creation, role menus, search filters, sign in, sign up, social network, star ratings, toolbar, user, users, user fields, user profile, user-profile, user profiles, user roles
|
7 |
Requires at least: 4.1
|
8 |
+
Tested up to: 4.7
|
9 |
|
10 |
+
Stable Tag: 1.3.78
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
150 |
|
151 |
== Changelog ==
|
152 |
|
153 |
+
= 1.3.78: December 08, 2016 =
|
154 |
+
|
155 |
+
* Bugfixes:
|
156 |
+
* Fix menu settings compatibility issue with WP 4.7
|
157 |
+
* Fix mobile class on account delete tab heading
|
158 |
+
* Fixes an issue where tagline shows the current users to all members
|
159 |
+
* Fixes notice on updating WP List Table quick edit
|
160 |
+
* Remove notices
|
161 |
+
|
162 |
+
= 1.3.77: November 30, 2016 =
|
163 |
|
164 |
* Bugfixes:
|
165 |
* Fix set and reset password validation.
|
166 |
+
* Remove notices
|
167 |
|
168 |
= 1.3.76: November 30, 2016 =
|
169 |
|
templates/members-grid.php
CHANGED
@@ -43,6 +43,9 @@
|
|
43 |
|
44 |
<?php
|
45 |
if ( $show_tagline && is_array( $tagline_fields ) ) {
|
|
|
|
|
|
|
46 |
foreach( $tagline_fields as $key ) {
|
47 |
if ( $key && um_filtered_value( $key ) ) {
|
48 |
$value = um_filtered_value( $key );
|
43 |
|
44 |
<?php
|
45 |
if ( $show_tagline && is_array( $tagline_fields ) ) {
|
46 |
+
|
47 |
+
um_fetch_user( $member );
|
48 |
+
|
49 |
foreach( $tagline_fields as $key ) {
|
50 |
if ( $key && um_filtered_value( $key ) ) {
|
51 |
$value = um_filtered_value( $key );
|