[buddypress-trac] [BuddyPress Trac] #8505: Add php fallback for dismissing sitewide notices.
buddypress-trac
noreply at wordpress.org
Thu Jul 8 14:48:35 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 dev-feedback |
------------------------------------+---------------------
Changes (by dcavins):
* Attachment "8505.1.patch" added.
* Introduce `bp_messages_dismiss_sitewide_notice()` as centralized
function to dismiss a notice for a user. * Watch for requests to
`{user_profile}/messages/notices/dismiss`. * Introduce
`bp_get_message_notice_dismiss_link()` to generate nonced link to the
dismiss action URI. * Use new URI for dismissal link in Legacy and Nouveau
sitewide notice templates (replacing JS-only button dismissal). * Update
Legacy CSS for dismissal link. Nouveau looks OK.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8505>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list