Opened 7 years ago
Closed 7 years ago
#49311 closed defect (bug) (duplicate)
check for php asset files before include
| Reported by: | pbearne | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Script Loader | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #48154.
See https://core.trac.wordpress.org/ticket/48154#comment:28.