Changeset 6783 for trunk/wp-admin/includes/image.php
- Timestamp:
- 02/11/2008 08:02:01 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/image.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image.php
r6726 r6783 151 151 $metadata['file'] = $file; 152 152 153 $max = apply_filters( 'wp_thumbnail_creation_size_limit', 3* 1024 * 1024, $attachment_id, $file );153 $max = apply_filters( 'wp_thumbnail_creation_size_limit', abs( inval( WP_MEMORY_LIMIT ) ) * 1024 * 1024, $attachment_id, $file ); 154 154 155 155 if ( $max < 0 || $metadata['width'] * $metadata['height'] < $max ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)