mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
0955ea66da
commit
6f9f3b0c56
@ -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.
|
||||
*
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user