Skip to content

Commit 179a5f8

Browse files
DrewAPictureDrewAPicture
authored andcommitted
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
1 parent 6f6bc33 commit 179a5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/class-wp-image-editor-imagick.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function load() {
137137
if ( ! is_file( $this->file ) && ! preg_match( '|^https?://|', $this->file ) )
138138
return new WP_Error( 'error_loading_image', __('File doesn’t exist?'), $this->file );
139139

140-
/** This filter is documented in wp-includes/class-wp-image-editor-imagick.php */
140+
/** This filter is documented in wp-includes/class-wp-image-editor-gd.php */
141141
// Even though Imagick uses less PHP memory than GD, set higher limit for users that have low PHP.ini limits
142142
@ini_set( 'memory_limit', apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ) );
143143

0 commit comments

Comments
 (0)