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