Changeset 11967 for trunk/wp-admin/includes/image-edit.php
- Timestamp:
- 09/24/2009 08:47:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image-edit.php
r11965 r11967 91 91 92 92 <div class="imgedit-submit"> 93 <input type="button" onclick="imageEdit.close(<?php echo "$post_id, '$nonce'"; ?>)" class="button" value="<?php echo esc_attr__( 'Cancel' ); ?>" />93 <input type="button" onclick="imageEdit.close(<?php echo $post_id; ?>, 1)" class="button" value="<?php echo esc_attr__( 'Cancel' ); ?>" /> 94 94 <input type="button" onclick="imageEdit.save(<?php echo "$post_id, '$nonce'"; ?>)" class="button-primary imgedit-submit-btn" value="<?php echo esc_attr__( 'Save' ); ?>" /> 95 95 </div> … … 233 233 } 234 234 if ( is_resource($image) ) { 235 $image = apply_filters('load_image_to_edit', $image, $post->ID );235 $image = apply_filters('load_image_to_edit', $image, $post->ID, $size); 236 236 if ( function_exists('imagealphablending') && function_exists('imagesavealpha') ) { 237 237 imagealphablending($image, false);
Note: See TracChangeset
for help on using the changeset viewer.