[wp-trac] [WordPress Trac] #49348: Block Editor: Include navigation block php file
WordPress Trac
noreply at wordpress.org
Sun Feb 2 22:20:28 UTC 2020
#49348: Block Editor: Include navigation block php file
------------------------------+-----------------------------
Reporter: jorgefilipecosta | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
------------------------------+-----------------------------
Currently, the core does not include the navigation block PHP files.
That happens because we missed changing the core files to copy the PHP
file from npm and to include the file.
This PR 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. A PR to fix this issue is available on
the block editor side at
https://github.com/WordPress/gutenberg/pull/19991/.
I tried this code replacing the navigation.php file with the one proposed
on the PR and verified the block works as expected.
This patch adds the file as it is on the last version of the npm package.
With the patch committed on the next package update, the navigation block
will work as expected.
cc: @andraganescu
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49348>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list