Make WordPress Core


Ignore:
Timestamp:
02/04/2020 08:14:50 PM (4 years ago)
Author:
jorgefilipecosta
Message:

Block Editor: Include navigation block server logic.

Core did not include the navigation block PHP files.
This commit fixes the issue referred, and now the navigation block is executed on the frontend. The block still does not work as expected and throws an error during frontend execution. That problem is going to be fixed on the next WordPress package update.
This commit adds the file as it is on the npm package used.

Props gziolo.
Fixes #49348.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-schema-setup.php

    r46586 r47176  
    127127            '/wp/v2/block-renderer/(?P<name>core/latest-comments)',
    128128            '/wp/v2/block-renderer/(?P<name>core/latest-posts)',
     129            '/wp/v2/block-renderer/(?P<name>core/navigation)',
    129130            '/wp/v2/block-renderer/(?P<name>core/rss)',
    130131            '/wp/v2/block-renderer/(?P<name>core/search)',
Note: See TracChangeset for help on using the changeset viewer.