Forum Replies Created
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
23/11/2017 at 03:08 in reply to: Admin profile lost some of the Categories after latest update #4436NewCollege CommunicationsParticipant
Will do, unfortunately we are on holiday here in the states until the 27th. As always thanks for the awesome support
22/11/2017 at 14:53 in reply to: Admin profile lost some of the Categories after latest update #4434NewCollege CommunicationsParticipantGoing back to 4.37 pro fixes the issue
22/11/2017 at 14:47 in reply to: Admin profile lost some of the Categories after latest update #4433NewCollege CommunicationsParticipantI am seeing the same error with custom post type taxonomies. this is seen even in the super admin role on a multisite
NewCollege CommunicationsParticipantcoming back to this after debugging a bit. I would nix the above code if you see a bunch of 502 errors.
NewCollege CommunicationsParticipantI ended up with
function filter_users_for_no_community($null,$object_id,$meta_key,$single){ global $wpdb; $theMeta = $wpdb->prefix . 'ure_categories_list'; if($theMeta === $meta_key){ remove_filter( 'get_user_metadata', 'filter_users_for_no_community', 10 , 4 ); $cats = get_user_meta($object_id,$meta_key,$single); add_filter( 'get_user_metadata', 'filter_users_for_no_community', 10 , 4 ); if(!$cats){ $value = '99999999'; } } return $value; } add_filter( 'get_user_metadata', 'filter_users_for_no_community', 10 , 4 );
thanks for your help
NewCollege CommunicationsParticipantperfect. I will give it a try
-
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)