Changeset 1915828
- Timestamp:
- 07/27/2018 10:42:14 AM (8 years ago)
- Location:
- profile-tabs-for-ultimate-member
- Files:
-
- 6 edited
- 1 copied
-
tags/2.1.1 (copied) (copied from profile-tabs-for-ultimate-member/trunk)
-
tags/2.1.1/core.php (modified) (1 diff)
-
tags/2.1.1/pp-tabs.php (modified) (1 diff)
-
tags/2.1.1/readme.txt (modified) (2 diffs)
-
trunk/core.php (modified) (1 diff)
-
trunk/pp-tabs.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
profile-tabs-for-ultimate-member/tags/2.1.1/core.php
r1913082 r1915828 111 111 $posts = get_posts( $args ); 112 112 $user_role = UM()->roles()->get_all_user_roles( get_current_user_id() ); 113 $profile_role = UM()->roles()->get_all_user_roles( um_profile_id() ); 113 $profile_role = UM()->roles()->get_all_user_roles( um_get_requested_user() ); 114 115 if ( empty( $user_role ) ) { 116 $user_role = array(); 117 } 118 119 if ( empty( $profile_role ) ) { 120 $profile_role = array(); 121 } 114 122 115 123 foreach ( $posts as $post ) { -
profile-tabs-for-ultimate-member/tags/2.1.1/pp-tabs.php
r1913082 r1915828 5 5 * Description: Add custom profile tabs to your Ultimate Member site with content area and privacy settings. 6 6 * Author: PlusPlugins 7 * Version: 2.1. 07 * Version: 2.1.1 8 8 * Author URI: https://www.plusplugins.com 9 9 * Text Domain: profile-tabs-for-ultimate-member -
profile-tabs-for-ultimate-member/tags/2.1.1/readme.txt
r1913082 r1915828 6 6 Tested up to: 4.9.7 7 7 Requires PHP: 5.6 8 Stable tag: 2.1. 08 Stable tag: 2.1.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 == Changelog == 84 84 85 = 2.1.1 = 86 * Fix: Warning: array_intersect() Argument #1 is not an array while logged out 87 85 88 = 2.1.0 = 86 89 * Fix: User Role issue with tabs -
profile-tabs-for-ultimate-member/trunk/core.php
r1913082 r1915828 111 111 $posts = get_posts( $args ); 112 112 $user_role = UM()->roles()->get_all_user_roles( get_current_user_id() ); 113 $profile_role = UM()->roles()->get_all_user_roles( um_profile_id() ); 113 $profile_role = UM()->roles()->get_all_user_roles( um_get_requested_user() ); 114 115 if ( empty( $user_role ) ) { 116 $user_role = array(); 117 } 118 119 if ( empty( $profile_role ) ) { 120 $profile_role = array(); 121 } 114 122 115 123 foreach ( $posts as $post ) { -
profile-tabs-for-ultimate-member/trunk/pp-tabs.php
r1913082 r1915828 5 5 * Description: Add custom profile tabs to your Ultimate Member site with content area and privacy settings. 6 6 * Author: PlusPlugins 7 * Version: 2.1. 07 * Version: 2.1.1 8 8 * Author URI: https://www.plusplugins.com 9 9 * Text Domain: profile-tabs-for-ultimate-member -
profile-tabs-for-ultimate-member/trunk/readme.txt
r1913082 r1915828 6 6 Tested up to: 4.9.7 7 7 Requires PHP: 5.6 8 Stable tag: 2.1. 08 Stable tag: 2.1.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 == Changelog == 84 84 85 = 2.1.1 = 86 * Fix: Warning: array_intersect() Argument #1 is not an array while logged out 87 85 88 = 2.1.0 = 86 89 * Fix: User Role issue with tabs
Note: See TracChangeset
for help on using the changeset viewer.