WordPress.org

Make WordPress Core

Ticket #9400: 9400-quick.patch

File 9400-quick.patch, 471 bytes (added by hakre, 6 years ago)
  • wp-includes/media.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress
     
    670670                        } 
    671671                </style> 
    672672                <!-- see gallery_shortcode() in wp-includes/media.php --> 
    673                 <div class='gallery'>"); 
     673                <div class='gallery' id='gallery-{$id}'>"); 
    674674 
    675675        $i = 0; 
    676676        foreach ( $attachments as $id => $attachment ) {