Ticket #29607: 29607.patch
File 29607.patch, 472 bytes (added by , 10 years ago) |
---|
-
wp-admin/includes/media.php
168 168 * @param bool $bool Whether to disable appending captions. Returning true to the filter 169 169 * will disable captions. Default empty string. 170 170 */ 171 $caption=apply_filters('image_add_caption',$caption); 171 172 if ( empty($caption) || apply_filters( 'disable_captions', '' ) ) 172 173 return $html; 173 174