Make WordPress Core

Changeset 38333


Ignore:
Timestamp:
08/23/2016 02:23:41 PM (8 years ago)
Author:
wonderboymusic
Message:

Media: remove function_exists() call for ini_get() in _load_image_to_edit_path().

Props dd32.
Fixes #37681.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image.php

    r38303 r38333  
    564564            $filepath = apply_filters( 'load_image_to_edit_filesystempath', path_join( dirname( $filepath ), $data['file'] ), $attachment_id, $size );
    565565        }
    566     } elseif ( function_exists( 'fopen' ) && function_exists( 'ini_get' ) && true == ini_get( 'allow_url_fopen' ) ) {
     566    } elseif ( function_exists( 'fopen' ) && true == ini_get( 'allow_url_fopen' ) ) {
    567567        /**
    568568         * Filters the image URL if not in the local filesystem.
Note: See TracChangeset for help on using the changeset viewer.