Make WordPress Core

Ticket #36968: 36968.patch

File 36968.patch, 840 bytes (added by bobbingwide, 9 years ago)

Fix docblock for image_memory_limit filter

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

     
    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