WordPress.org

Make WordPress Core

Ticket #23787: gallery.patch

File gallery.patch, 619 bytes (added by mark-k, 13 months ago)
  • wp-includes/media.php

     
    770770                        #{$selector} .gallery-caption { 
    771771                                margin-left: 0; 
    772772                        } 
    773                 </style> 
    774                 <!-- see gallery_shortcode() in wp-includes/media.php -->"; 
     773                </style>"; 
    775774        $size_class = sanitize_html_class( $size ); 
    776775        $gallery_div = "<div id='$selector' class='gallery galleryid-{$id} gallery-columns-{$columns} gallery-size-{$size_class}'>"; 
    777776        $output = apply_filters( 'gallery_style', $gallery_style . "\n\t\t" . $gallery_div );