Skip to:
Content

Ticket #7530: 7530.patch

File 7530.patch, 511 bytes (added by bhargavbhandari90, 12 months ago)

Here is the patch. Check this and let us know.

  • src/bp-friends/bp-friends-functions.php

     
    773773 * @see bp_activity_mentions_script()
    774774 */
    775775function bp_friends_prime_mentions_results() {
     776
     777        // Stop here if user is not logged in.
     778        if ( ! is_user_logged_in() ) {
     779                return;
     780        }
     781
    776782        if ( ! bp_activity_maybe_load_mentions_scripts() ) {
    777783                return;
    778784        }