[wp-trac] [WordPress Trac] #59443: Block Supports: Re-use instance of Tag Processor when adding layout classes

WordPress Trac noreply at wordpress.org
Thu Oct 5 10:47:52 UTC 2023


#59443: Block Supports: Re-use instance of Tag Processor when adding layout classes
---------------------------------------+----------------------------
 Reporter:  dmsnell                    |       Owner:  isabel_brison
     Type:  enhancement                |      Status:  reopened
 Priority:  normal                     |   Milestone:  6.4
Component:  Editor                     |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  gutenberg-merge has-patch  |     Focuses:  performance
---------------------------------------+----------------------------

Comment (by spacedmonkey):

 @dmsnell @isabel_brison Can I understand why this function was changed and
 no unit tests seem to have been added? It is hard to refactor this code to
 improve performance when there are no unit tests to prove how the function
 is meant to work and that your change has not broken anything.

 I will provide number of before and after this commit when I get sometime.

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


More information about the wp-trac mailing list