[buddypress-trac] [BuddyPress Trac] #8505: Add php fallback for dismissing sitewide notices.

buddypress-trac noreply at wordpress.org
Thu Jul 8 17:23:26 UTC 2021


#8505: Add php fallback for dismissing sitewide notices.
------------------------------+---------------------
 Reporter:  dcavins           |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  9.0.0
Component:  Messages          |     Version:  8.0.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+---------------------

Comment (by dcavins):

 In [changeset:"12989" 12989]:
 {{{
 #!CommitTicketReference repository="" revision="12989"
 Introduce bp_messages_dismiss_sitewide_notice().

 Introduce `bp_messages_dismiss_sitewide_notice()`
 as core function to dismiss a notice for a user.
 This function allows us to replace code to update the
 user's `closed_notices` meta that is repeated in
 several places in BuddyPress.

 See #8505.
 }}}

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


More information about the buddypress-trac mailing list