usleep( 200000
);
wp_opcache_invalidate_directory( $to );
return true;
} // Fall back to a recursive copy.
if ( !
$wp_filesystem->
is_dir( $to ) ) { if ( !
$wp_filesystem->
mkdir( $to, FS_CHMOD_DIR
) ) { return new WP_Error( 'mkdir_failed_move_dir',
__( 'Could not create directory.'
),
$to );
} }