Ticket #14130: 14130.patch
| File 14130.patch, 546 bytes (added by johnbillion, 3 years ago) |
|---|
-
wp-includes/media.php
806 806 if ( empty($attachments) ) 807 807 return ''; 808 808 809 // Another chance for plugins/themes to override the default gallery template. 810 $output = apply_filters('post_gallery_output', '', $attr, $attachments); 811 if ( $output != '' ) 812 return $output; 813 809 814 if ( is_feed() ) { 810 815 $output = "\n"; 811 816 foreach ( $attachments as $att_id => $attachment )
