[wp-trac] [WordPress Trac] #53285: Make it easier to determine which features have been merged to core

WordPress Trac noreply at wordpress.org
Wed May 26 19:45:19 UTC 2021


#53285: Make it easier to determine which features have been merged to core
-------------------------+-----------------------------
 Reporter:  azaozz       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------------

Comment (by hellofromTonya):

 In some cases such as features merged from Gutenberg, a feature-specific
 function may not exist to use `function_exists`.

 By providing a feature compat constant, plugins can then detect and not
 load code for tat feature(s).

 Adding a version number to the feature compat allows the feature plugin to
 continue feature development by overriding what's in core and loading its
 code instead. This would mean that the files/code in core when merged
 would need to check against this feature compat before loading the
 files/code into memory.

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


More information about the wp-trac mailing list