diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 6d3c0e88c9..c64eb0f6b9 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -5958,6 +5958,8 @@ function wp_schedule_delete_old_privacy_export_files() { * @since 4.9.6 */ function wp_privacy_delete_old_export_files() { + require_once( ABSPATH . 'wp-admin/includes/file.php' ); + $upload_dir = wp_upload_dir(); $exports_dir = trailingslashit( $upload_dir['basedir'] . '/exports' ); $export_files = list_files( $exports_dir, 100, array( 'index.html' ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index ee5e2081ae..a5d46f96fa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9.6-alpha-43096'; +$wp_version = '4.9.6-alpha-43097'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.