Make WordPress Core

Ticket #55154: 55154.patch

File 55154.patch, 627 bytes (added by dilipbheda, 4 years ago)
  • src/wp-includes/functions.php

    diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
    index 667049aa3f..5bb8102af2 100644
    a b function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) { 
    31993199function wp_get_image_mime( $file ) {
    32003200        /*
    32013201         * Use exif_imagetype() to check the mimetype if available or fall back to
    3202          * getimagesize() if exif isn't avaialbe. If either function throws an Exception
     3202         * getimagesize() if exif isn't available. If either function throws an Exception
    32033203         * we assume the file could not be validated.
    32043204         */
    32053205        try {