Skip to:
Content

BuddyPress.org

Changeset 7653


Ignore:
Timestamp:
12/07/2013 09:33:18 PM (10 years ago)
Author:
r-a-y
Message:

Groups: Fix notifications not being cleared on certain screens.

The 'do_action' hooks were referencing the wrong actions for the
group home and group invites pages. Thus, notifications were not
being cleared on those pages.

Fixes #5282.

Props imath.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-notifications.php

    r7652 r7653  
    591591    }
    592592}
    593 add_action( 'groups_screen_my_groups', 'bp_groups_screen_my_groups_mark_notifications', 10 );
    594 add_action( 'groups_screen_home',      'bp_groups_screen_my_groups_mark_notifications', 10 );
     593add_action( 'groups_screen_my_groups',  'bp_groups_screen_my_groups_mark_notifications', 10 );
     594add_action( 'groups_screen_group_home', 'bp_groups_screen_my_groups_mark_notifications', 10 );
    595595
    596596/**
     
    604604    }
    605605}
    606 add_action( 'groups_screen_invites', 'bp_groups_screen_invites_mark_notifications', 10 );
     606add_action( 'groups_screen_group_invites', 'bp_groups_screen_invites_mark_notifications', 10 );
    607607
    608608/**
Note: See TracChangeset for help on using the changeset viewer.