mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 21:24:35 +00:00
cbfbadc99b3336ee0eeb4b3ea4f12a210f9daa41
wp-admin/includes/file.php to avoid fatal error.
`list_files()` is defined in `wp-admin/includes/file.php`, which is not included by `wp-cron.php`, so it needs to be included by the caller in order to avoid a fatal PHP error. This bug was not detected during testing because the file _is_ included when executing jobs via `wp cron event run`. Props mikejolley, iandunn. See #43546. See https://wordpress.slack.com/archives/C9695RJBW/p1525190405000860. git-svn-id: https://develop.svn.wordpress.org/trunk@43059 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%