[buddypress-trac] [BuddyPress Trac] #7530: Fetching of ALL users from bp_friends_prime_mentions_results() for non logged in users

buddypress-trac noreply at wordpress.org
Mon May 29 10:48:03 UTC 2017


#7530: Fetching of ALL users from bp_friends_prime_mentions_results() for non
logged in users
--------------------------+------------------------------
 Reporter:  dsar          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  (not sure)    |     Version:  2.8.2
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by bhargavbhandari90):

 * version:   => 2.8.2


Comment:

 Hi @dsar,

 I have a second thought on this.

 {{{#!php
 <?php
 // Stop here if user is not logged in.
 if ( ! is_user_logged_in() ) {
     return;
 }
 }}}

 This above code will also do the same thing.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7530#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list