[wp-trac] [WordPress Trac] #53610: Remove references to Gutenberg specific functions

WordPress Trac noreply at wordpress.org
Wed Jul 7 02:53:49 UTC 2021


#53610: Remove references to Gutenberg specific functions
--------------------------------------+---------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  5.8
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback 2nd-opinion  |     Focuses:
--------------------------------------+---------------------
Changes (by azaozz):

 * keywords:  dev-feedback => dev-feedback 2nd-opinion


Comment:

 Replying to [comment:6 noisysocks]:
 > A block's JavaScript and CSS is highly dependent on any PHP that the
 block has.

 Right, but what happens when that PHP code in no good for core? Should the
 Gutenberg plugin include PHP in packages that is intended only for the
 current WP trunk? Thinking yes :)

 If Gutenberg wants to be compatible with older WP versions, that
 compatibility code should "live" in /lib imho. (Yeah, that means in older
 WP the Gutenberg plugin will not include the PHP code from the package but
 a modified version of it).

 > Personally I think that there is no issue here...
 >
 > It's potentially confusing to developers...

 Yeah, after [51193] perhaps just some nice inline comments explaining that
 the `gutenberg_` prefix is temporary and what's going on. Then try to
 really fix this in the Gutenberg plugin for WP 5.9.

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


More information about the wp-trac mailing list