Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Refactoring
  • Loading branch information
t-hamano committed Oct 9, 2025
commit 589e91f5a3d0101b68375538230eeb360283fa26
5 changes: 2 additions & 3 deletions lib/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,17 @@ function gutenberg_is_experiment_enabled( $name ) {
require_once __DIR__ . '/class-wp-rest-edit-site-export-controller-gutenberg.php';
require_once __DIR__ . '/rest-api.php';

// PoC: Infrastructure to register icons and expose them via the REST API.
require_once __DIR__ . '/experimental/rest-api.php';
require_once __DIR__ . '/experimental/kses-allowed-html.php';
require_once __DIR__ . '/experimental/icon.php';

// Block Comments.
if ( gutenberg_is_experiment_enabled( 'gutenberg-block-comment' ) ) {
require __DIR__ . '/experimental/block-comments.php';
require __DIR__ . '/experimental/class-gutenberg-rest-comment-controller.php';
}

// Icons.
// PoC: Infrastructure to register icons and expose them via the REST API.
require_once __DIR__ . '/experimental/icon.php';
require_once __DIR__ . '/experimental/class-wp-icons-registry.php';
require_once __DIR__ . '/experimental/class-wp-rest-icons-controller.php';
}
Expand Down