mirror of
git://develop.git.wordpress.org/
synced 2025-04-12 16:15:07 +02:00
Media: remove function_exists()
call for ini_get()
in _load_image_to_edit_path()
.
Props dd32. Fixes #37681. git-svn-id: https://develop.svn.wordpress.org/trunk@38333 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c913fc4c23
commit
b1de6df8b4
@ -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.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user