[wp-trac] [WordPress Trac] #61827: wp_check_comment_disallowed_list() can't be used to match unprocessed HTML

WordPress Trac noreply at wordpress.org
Tue Oct 29 00:50:29 UTC 2024


#61827: wp_check_comment_disallowed_list() can't be used to match unprocessed HTML
----------------------------------------+-----------------------------
 Reporter:  cfinke                      |       Owner:  SergeyBiryukov
     Type:  defect (bug)                |      Status:  reopened
 Priority:  normal                      |   Milestone:  6.7
Component:  Comments                    |     Version:  6.6.1
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:17 david.binda]:
 > I’m attaching a diff addressing my concerns mentioned above.

 [attachment:"61827.2.diff"] looks great to me, thank you!

 In [attachment:"61827.3.diff"], I've only adjusted the `@return` tag for
 `wp_check_comment_data()` to include `WP_Error` as a possible return
 value.

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


More information about the wp-trac mailing list