Changes between Initial Version and Version 2 of Ticket #55017
- Timestamp:
- 02/01/2022 03:33:03 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55017
- Property Owner set to talldanwp
-
Property
Status
changed from
new
toassigned
-
Ticket #55017 – Description
initial v2 3 3 When the packages from Gutenberg are compiled by webpack in core, the idea is that this feature flagged code is removed from the build via webpack's dead code elimination feature. 4 4 5 The variable was set to integersrepresenting the phases of Gutenberg (core set to `1` and gutenberg set to `2`), so that when the project moves to a new phase the value is incremented. That didn't really turn out to be a useful approach though.5 The variable was set to an integer representing the phases of Gutenberg (core set to `1` and gutenberg set to `2`), so that when the project moves to a new phase the value is incremented. That didn't really turn out to be a useful approach though. 6 6 7 7 Recently in the Gutenberg project this variable was renamed to `IS_GUTENBERG_PLUGIN` and changed to a boolean (https://github.com/WordPress/gutenberg/pull/38202).