[wp-trac] [WordPress Trac] #61112: Avoid re-constructing `WP_Theme_JSON` object from raw theme_json, instead use `WP_Theme_JSON` object inside `WP_Theme_JSON_data`

WordPress Trac noreply at wordpress.org
Thu Jun 6 20:58:56 UTC 2024


#61112: Avoid re-constructing `WP_Theme_JSON` object from raw theme_json, instead
use `WP_Theme_JSON` object inside `WP_Theme_JSON_data`
-------------------------------------------------+-------------------------
 Reporter:  thekt12                              |       Owner:  thekt12
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.6
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-testing-info needs-    |     Focuses:
  testing                                        |  performance
-------------------------------------------------+-------------------------

Comment (by ryelle):

 The Gutenberg version where this is fixed is 18.5, which only came out
 yesterday, but otherwise that's correct.

 In testing, updating to GB 18.5 + WP trunk + Blocks Everywhere does fix
 the fatal error (although Blocks Everywhere only supports up to 17.9, so
 we can't actually update). I've also opened [https://github.com/Automattic
 /blocks-everywhere/pull/208 a PR to fix the issue in Blocks Everywhere].

 Overall, it does sound like a combination of "doing it not-quite-right" in
 plugins, and fixed upstream now that 18.5 is out.

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


More information about the wp-trac mailing list