Ticket #39130: 39130.patch
File 39130.patch, 888 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/functions.php
1921 1921 /** 1922 1922 * A non-filtered, non-cached version of wp_upload_dir() that doesn't check the path. 1923 1923 * 1924 * @since 4.5.0 1924 1925 * @access private 1925 1926 * 1926 1927 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null. … … 5108 5109 /** 5109 5110 * Test if a given path is a stream URL 5110 5111 * 5112 * @since 3.5.0 5113 * 5111 5114 * @param string $path The resource path or URL. 5112 5115 * @return bool True if the path is a stream URL. 5113 5116 */ … … 5389 5392 * 5390 5393 * @since 2.1.0 5391 5394 * 5392 * @param string $ mediumPath to the file to delete.5395 * @param string $file Path to the file to delete. 5393 5396 */ 5394 5397 $delete = apply_filters( 'wp_delete_file', $file ); 5395 5398 if ( ! empty( $delete ) ) {