[buddypress-trac] [BuddyPress Trac] #8236: `empty()` check for activity content after kses filtering
buddypress-trac
noreply at wordpress.org
Sun Mar 29 16:27:13 UTC 2020
#8236: `empty()` check for activity content after kses filtering
--------------------------+---------------------
Reporter: oztaser | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.0.0
Component: Activity | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Changes (by imath):
* owner: (none) => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"12604" 12604]:
{{{
#!CommitTicketReference repository="" revision="12604"
Make sure activities requiring content are not inserted empty into db
The activity type `activity_update` requires a content. If it is not set
(eg: this can happen after sanitization), the activity won't be inserted
into the database. Plugin developers can use the
`bp_activity_type_requires_content` filter to force the activity type
their plugin generated to also require content.
Props oztaser
Fixes #8236
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8236#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list