Docs: Correct a duplicate filter comment for the image_memory_limit
hook to point to the correct file.
Props bobbingwide. See #36968. git-svn-id: https://develop.svn.wordpress.org/trunk@37591 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5664f0d6ea
commit
a66277f245
@ -137,7 +137,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||
if ( ! is_file( $this->file ) && ! preg_match( '|^https?://|', $this->file ) )
|
||||
return new WP_Error( 'error_loading_image', __('File doesn’t exist?'), $this->file );
|
||||
|
||||
/** This filter is documented in wp-includes/class-wp-image-editor-imagick.php */
|
||||
/** This filter is documented in wp-includes/class-wp-image-editor-gd.php */
|
||||
// Even though Imagick uses less PHP memory than GD, set higher limit for users that have low PHP.ini limits
|
||||
@ini_set( 'memory_limit', apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user