WordPress.org

Make WordPress Core

Ticket #24202: 24202.11.diff

File 24202.11.diff, 439 bytes (added by rodrigosprimo, 22 months ago)

Fix typo in get_post_gallery_images()

  • wp-includes/media.php

     
    20182018 */ 
    20192019function get_post_gallery_images( $post = 0 ) { 
    20202020        $galleries = get_post_gallery( $post, false ); 
    2021         return empty( $gallery['src'] ) ? array() : $gallery['src']; 
     2021        return empty( $galleries['src'] ) ? array() : $galleries['src']; 
    20222022}