3027* double for other themes.3028* @since 7.0.0 Removed the `type` attribute for any theme.3029*3030* @param string$gallery_styleDefaultCSS styles and opening HTML div container3031*for the gallery shortcode output.3032*/3033$output=apply_filters('gallery_style',$gallery_style.$gallery_div);30343035$i=0;30363037foreach($attachmentsas$id=>$attachment){30383039$attr=(trim($attachment->post_excerpt))?array('aria-describedby'=>"$selector-$id"):'';
History
Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
7.0.0
Removed the type attribute for any theme.from the docblock
5.3.0
Removed the type attribute for style tags when the theme supports HTML5 style, and changed the quotes from single to double for other themes.from the docblock
3.1.0
Added classes for number of columns and size to opening div.from the docblock
2.5.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.