[wp-trac] [WordPress Trac] #53576: Remove unnecessary compatibility shim added in 5.8

WordPress Trac noreply at wordpress.org
Fri Jul 2 14:00:46 UTC 2021


#53576: Remove unnecessary compatibility shim added in 5.8
--------------------------+-----------------------
 Reporter:  desrosj       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  5.8
Component:  Themes        |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------
 It looks like a [https://core.trac.wordpress.org/browser/branches/5.8/src
 /wp-includes/class-wp-theme-json.php?rev=51305#L1211 compatibility shim]
 from the Gutenberg plugin has accidentally made its way into Core.

 The inline documentation indicates that the code block allows the plugin
 to work with older versions of WordPress until 5.8 is made the minimum
 required version. This doesn't matter in the context of WordPress because
 this code is being added in 5.8.

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


More information about the wp-trac mailing list