Make WordPress Core

Ticket #38228: patch_38228.3.diff

File patch_38228.3.diff, 931 bytes (added by tristangemus, 8 years ago)

Updated description.

  • wp-includes/media.php

     
    17841784        $output .= "
    17851785                </div>\n";
    17861786
    1787         return $output;
     1787        /**
     1788         * Filters the default gallery shortcode output after retrieving attachments.
     1789         *
     1790         * @since 4.7.0
     1791         *
     1792         * @param string $output         Gallery output
     1793         * @param array  $attachments    An array of attachments to display in the gallery
     1794         * @param string $gallery_style  Default CSS styles and opening HTML div container
     1795         *                               for the gallery shortcode output.
     1796         * @param array  $atts           An array of shortcode attributes.
     1797         * @param int    $instance       Unique numeric ID of this gallery shortcode instance.
     1798         */
     1799        return apply_filters( 'gallery_output', $output, $attachments, $gallery_style, $atts, $instance );
    17881800}
    17891801
    17901802/**