[wp-trac] [WordPress Trac] #56664: Blocks try to load non-existent block-styles on the frontend
WordPress Trac
noreply at wordpress.org
Tue Sep 27 06:20:03 UTC 2022
#56664: Blocks try to load non-existent block-styles on the frontend
-----------------------------------------+---------------------
Reporter: aristath | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: General | Version: trunk
Severity: major | Resolution:
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+---------------------
Comment (by aristath):
The issue was introduced in https://github.com/WordPress/wordpress-
develop/commit/3381f05fa241daf172d6c1c893fd25959c3b0656#diff-
8c99af92e4ec0fdb307ddd9b42be1e1ef1efe4a9f31287c23f346244dddd1ce9R227,
where `wp_normalize_path()` was added on line 227 a few days ago.
> Do we need the unit test for this changes?
We should probably add one to prevent something like this from happening
in the future. However, writing a test for this one will be a bit more
complicated than the existing tests for this function. I'll work on it,
but in the meantime, the lack of a future-proofing test should not be
considered a blocker for this bugfix.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56664#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list