Ticket #11805: 11805.2.patch
| File 11805.2.patch, 660 bytes (added by , 16 years ago) |
|---|
-
wp-admin/includes/media.php
422 422 423 423 $post = apply_filters('attachment_fields_to_save', $post, $attachment); 424 424 425 if ( isset($attachment['image_alt']) && !empty($attachment['image_alt'])) {425 if ( isset($attachment['image_alt']) ) { 426 426 $image_alt = get_post_meta($attachment_id, '_wp_attachment_image_alt', true); 427 427 if ( $image_alt != stripslashes($attachment['image_alt']) ) { 428 428 $image_alt = wp_strip_all_tags( stripslashes($attachment['image_alt']), true );