| @@ -79,17 +79,8 @@ | ||
| 79 | 79 | } |
| 80 | 80 | add_action( 'rest_api_init', 'gutenberg_allow_null_modified_wp_template_field' ); |
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | - * Registers the Icon Collections Registry REST API routes. | |
| 84 | - */ | |
| 85 | -function gutenberg_register_icon_collections_controller_endpoints() { | |
| 86 | - $icon_collections_controller = new WP_REST_Icon_Collections_Controller(); | |
| 87 | - $icon_collections_controller->register_routes(); | |
| 88 | -} | |
| 89 | -add_action( 'rest_api_init', 'gutenberg_register_icon_collections_controller_endpoints' ); | |
| 90 | - | |
| 91 | -/** | |
| 92 | 83 | * Overrides the REST controller for the attachment post type to add support |
| 93 | 84 | * for filtering by multiple media types. |
| 94 | 85 | * |
| 95 | 86 | * Only applies if the experimental media processing feature is not enabled, |