[wp-trac] [WordPress Trac] #53156: Add 'main' tag to kses

WordPress Trac noreply at wordpress.org
Mon May 24 22:31:29 UTC 2021


#53156: Add 'main' tag to kses
----------------------------------------+----------------------------
 Reporter:  glendaviesnz                |       Owner:  davidbaumwald
     Type:  defect (bug)                |      Status:  accepted
 Priority:  normal                      |   Milestone:  5.8
Component:  Formatting                  |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+----------------------------

Comment (by glendaviesnz):

 Replying to [comment:5 jorbin]:
 > The patch itself looks fine, but this should have some unit tests to
 make sure the functionality works as expected now and in the future.

 I have added a basic unit test to the PR - https://github.com/WordPress
 /wordpress-
 develop/pull/1228/commits/ddd994fdac637c5752c6f16a5dfdbd1050cf2cfd - at
 this stage just checking that the style and class attributes are preserved
 as these are the critical ones from a gutenberg block perspective, but let
 me know if you think it is worth testing anything else.

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


More information about the wp-trac mailing list