Opened 5 years ago
Closed 5 years ago
#49311 closed defect (bug) (duplicate)
check for php asset files before include
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Script Loader | Keywords: | |
Focuses: | javascript | Cc: |
Description
I am seeing warnings like this
Warning: include(): Failed opening '/srv/www/wordpress-develop/public_html/src/wp-includes/assets/dist/wordcount.asset.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/wordpress-develop/public_html/src/wp-includes/script-loader.php on line 296
So I have created a patch to check for the PHP file before including
I am a bit confused as I have not been able to find a WP install with the wp-includes/assets/dist/ folder :-) so not sure why this code is here.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Duplicate of #48154.
See https://core.trac.wordpress.org/ticket/48154#comment:28.