[wp-trac] [WordPress Trac] #54910: 5.9 Bug - Blank Home Page
WordPress Trac
noreply at wordpress.org
Fri Feb 4 05:27:27 UTC 2022
#54910: 5.9 Bug - Blank Home Page
--------------------------------------+------------------------------
Reporter: cantuaria | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 5.9
Severity: major | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by noisysocks):
I think best to keep any solution here simple and then respond to further
feedback as it arises.
The `str_contains` approach seems reasonable to me. Using `parse_blocks`
will add an undesired performance hit and using `scandir` will not play
nice with files such as `.editorconfig`, `.DS_Store`, etc.
If the issue is not particularly prevalent, then another option is to
simply do nothing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54910#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list