Changeset 37592 for trunk/src/wp-includes/class-wp-image-editor-gd.php
- Timestamp:
- 05/30/2016 02:13:57 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-image-editor-gd.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-gd.php
r37492 r37592 105 105 * Accepts an integer (bytes), or a shorthand string notation, such as '256M'. 106 106 */ 107 // Set artificially high because GD uses uncompressed images in memory 108 @ini_set( 'memory_limit', apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ) ); 107 $image_memory_limit = apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ); 108 109 // Set artificially high because GD uses uncompressed images in memory. 110 @ini_set( 'memory_limit', $image_memory_limit ); 109 111 110 112 $this->image = @imagecreatefromstring( file_get_contents( $this->file ) );
Note: See TracChangeset
for help on using the changeset viewer.