Make WordPress Core

Changeset 56052

Timestamp:
06/27/2023 05:52:06 AM (14 months ago)
Author:
isabel_brison
Message:

Editor: add navigation fallback.

Creates a fallback menu for the Navigation block including an API endpoint to retrieve it.

Props get_dave, spacedmonkey, kebbet, flixos90, mikeschroder, ramonopoly, audrasjb.
Fixes 58557.

Location:
trunk
Files:
7 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api.php

    r56014 r56052  
    377377    // Site Editor Export.
    378378    $controller = new WP_REST_Edit_Site_Export_Controller();
     379
     380
     381
     382
    379383    $controller->register_routes();
    380384}
  • trunk/src/wp-settings.php

    r56048 r56052  
    292292require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-templates-controller.php';
    293293require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-url-details-controller.php';
     294
    294295require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-meta-fields.php';
    295296require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-comment-meta-fields.php';
     
    322323require ABSPATH . WPINC . '/class-wp-block-parser-frame.php';
    323324require ABSPATH . WPINC . '/class-wp-block-parser.php';
     325
     326
    324327require ABSPATH . WPINC . '/blocks.php';
    325328require ABSPATH . WPINC . '/blocks/index.php';
  • trunk/tests/qunit/fixtures/wp-api-generated.js

    r56030 r56052  
    1102211022                ]
    1102311023            }
     11024
     11025
     11026
     11027
     11028
     11029
     11030
     11031
     11032
     11033
     11034
     11035
     11036
     11037
     11038
     11039
     11040
     11041
     11042
     11043
     11044
    1102411045        }
    1102511046    },
Note: See TracChangeset for help on using the changeset viewer.