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

Props dd32.
Fixes #37681.

Built from https://develop.svn.wordpress.org/trunk@38333


git-svn-id: http://core.svn.wordpress.org/trunk@38274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2016-08-23 14:24:30 +00:00
parent 0955ea66da
commit 6f9f3b0c56
2 changed files with 2 additions and 2 deletions

View File

@ -563,7 +563,7 @@ function _load_image_to_edit_path( $attachment_id, $size = 'full' ) {
*/
$filepath = apply_filters( 'load_image_to_edit_filesystempath', path_join( dirname( $filepath ), $data['file'] ), $attachment_id, $size );
}
} elseif ( function_exists( 'fopen' ) && function_exists( 'ini_get' ) && true == ini_get( 'allow_url_fopen' ) ) {
} elseif ( function_exists( 'fopen' ) && true == ini_get( 'allow_url_fopen' ) ) {
/**
* Filters the image URL if not in the local filesystem.
*

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38332';
$wp_version = '4.7-alpha-38333';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.