[buddypress-trac] [BuddyPress Trac] #8236: `empty()` check for activity content after kses filtering

buddypress-trac noreply at wordpress.org
Sun Mar 15 12:07:38 UTC 2020


#8236: `empty()` check for activity content after kses filtering
-----------------------------------------+---------------------
 Reporter:  oztaser                      |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  6.0.0
Component:  Activity                     |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+---------------------
Changes (by imath):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 In 8236.2.patch :

 - I'm checking the content once we are sure the type is set as explained
 in my previous comment.
 - I'm introducing a filter `bp_activity_type_requires_content` to allow
 plugins to make their activity type's content required.
 - I'm adding unit tests.

 @oztaser could you test the patch before the end of march to confirm it's
 fixing your issue so that we can eventually include this in the 6.0.0
 first beta release?

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


More information about the buddypress-trac mailing list