diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index d318a275a9607..eb28db81d6ce9 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -2885,6 +2885,7 @@ function gallery_shortcode( $attr ) { * Filters whether to print default gallery styles. * * @since 3.1.0 + * @since 3.9.0 Set the default to false when the theme supports HTML5 galleries. * * @param bool $print Whether to print default gallery styles. * Defaults to false if the theme supports HTML5 galleries. @@ -2916,9 +2917,18 @@ function gallery_shortcode( $attr ) { $gallery_div = "