[wp-trac] [WordPress Trac] #59168: Block API: Unnecessary JSON decoding in block parser

WordPress Trac noreply at wordpress.org
Fri Sep 15 11:09:56 UTC 2023


#59168: Block API: Unnecessary JSON decoding in block parser
--------------------------+--------------------------
 Reporter:  dlh           |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.4
Component:  Editor        |     Version:  5.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+--------------------------

Comment (by spacedmonkey):

 @dmsnell I will wait next time. Avoid using `json_decode` fixes the
 performance problem for me.

 I put together a little pr to remove this attribute -
 https://github.com/WordPress/gutenberg/pull/54496

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


More information about the wp-trac mailing list