[wp-trac] [WordPress Trac] #57979: Can't upload images to WordPress Comments

WordPress Trac noreply at wordpress.org
Fri Mar 24 21:48:21 UTC 2023


#57979: Can't upload images to WordPress Comments
--------------------------+-----------------------------
 Reporter:  sbb           |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.3
Component:  Comments      |     Version:  6.0.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------
Changes (by azaozz):

 * version:  6.1.1 => 6.0.3
 * milestone:  Awaiting Review => 6.3


Comment:

 Seems this is a regression introduced in [54527]. Comments edited by users
 with `unfiltered_html` (admins or editors) should not be run through KSES.

 Looking at the changeset, it checks if the comment author has
 `unfiltered_html`, but doesn't check cases where an admin may be editing
 the comment. This prevents admins and editors from using their
 capabilities there.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57979#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list