[wp-trac] [WordPress Trac] #58790: Search block: View script is missing in core
WordPress Trac
noreply at wordpress.org
Wed Jul 12 08:04:48 UTC 2023
#58790: Search block: View script is missing in core
------------------------------+-----------------------------
Reporter: walbo | Owner: walbo
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
Gutenberg added a view script to the Search block in v16 (see
[https://github.com/WordPress/gutenberg/pull/50487 #50487]), which will be
included in WP6.3.
I noticed that the view script is missing in `/wp-includes/blocks/search`
and the expandable input functionality will not work in core.
The build setup need to be updated to include this script.
--
(There is also an bug in block. The script is loaded from the wrong
location in core, `/wp-content/plugins/var/www/src/wp-
includes/blocks/search/view.min.js?ver=6.3-beta4-56216-src`. A PR is
already created in Gutenberg to fix this. See
[https://github.com/WordPress/gutenberg/pull/52552 #52552])
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58790>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list