Skip to content

Commit

Permalink
Add back Token Map 6.7 compat layer
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Nov 20, 2024
1 parent 4d1ccbb commit f602432
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ function gutenberg_is_experiment_enabled( $name ) {
require __DIR__ . '/compat/plugin/edit-site-routes-backwards-compat.php';
require __DIR__ . '/compat/plugin/fonts.php';

// The Token Map was created to support the HTML API. It must be loaded before it.
require __DIR__ . '/compat/wordpress-6.7/class-gutenberg-token-map-6-7.php';

// Type annotations were added in 6.7 so every file is updated.
require __DIR__ . '/compat/wordpress-6.7/html-api/class-gutenberg-html-active-formatting-elements-6-7.php';
require __DIR__ . '/compat/wordpress-6.7/html-api/class-gutenberg-html-attribute-token-6-7.php';
Expand Down

0 comments on commit f602432

Please sign in to comment.