Make WordPress Core

Changeset 37591


Ignore:
Timestamp:
05/30/2016 02:09:46 AM (8 years ago)
Author:
DrewAPicture
Message:

Docs: Correct a duplicate filter comment for the image_memory_limit hook to point to the correct file.

Props bobbingwide.
See #36968.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-image-editor-imagick.php

    r37492 r37591  
    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 ) );
Note: See TracChangeset for help on using the changeset viewer.