From a66277f2450c2a3018737d64ff9920b30f41a93d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 30 May 2016 02:09:46 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-image-editor-imagick.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-image-editor-imagick.php b/src/wp-includes/class-wp-image-editor-imagick.php index ddfb06c139..3ab9359038 100644 --- a/src/wp-includes/class-wp-image-editor-imagick.php +++ b/src/wp-includes/class-wp-image-editor-imagick.php @@ -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 ) );