Make WordPress Core

Ticket #39130: 39130.patch

File 39130.patch, 888 bytes (added by keesiemeijer, 8 years ago)

improvements for /wp-includes/functions.php

  • src/wp-includes/functions.php

     
    19211921/**
    19221922 * A non-filtered, non-cached version of wp_upload_dir() that doesn't check the path.
    19231923 *
     1924 * @since 4.5.0
    19241925 * @access private
    19251926 *
    19261927 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null.
     
    51085109/**
    51095110 * Test if a given path is a stream URL
    51105111 *
     5112 * @since 3.5.0
     5113 *
    51115114 * @param string $path The resource path or URL.
    51125115 * @return bool True if the path is a stream URL.
    51135116 */
     
    53895392         *
    53905393         * @since 2.1.0
    53915394         *
    5392          * @param string $medium Path to the file to delete.
     5395         * @param string $file Path to the file to delete.
    53935396         */
    53945397        $delete = apply_filters( 'wp_delete_file', $file );
    53955398        if ( ! empty( $delete ) ) {