[wp-trac] [WordPress Trac] #59310: Parse blocks being applied unnecessarily

WordPress Trac noreply at wordpress.org
Thu Sep 7 13:03:47 UTC 2023


#59310: Parse blocks being applied unnecessarily
--------------------------+-----------------------------
 Reporter:  spacedmonkey  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.3.1
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+-----------------------------
 The filter `wp_pre_kses_block_attributes` is applied to any field that
 runs through `wp_kses_hook`. Any fields on any object field that is run
 through `wp_filter_kses`. This includes fields like comment_author_email,
 user_email, term_name and user_last_name. It is extremely unlikely that
 these text fields will contain block data. This filter should be changed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59310>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list