WordPress.org

Make WordPress Core

Changeset 24837


Ignore:
Timestamp:
07/29/13 00:52:31 (9 months ago)
Author:
markjaquith
Message:

Fix a variable typo in get_post_gallery_images().

props rodrigosprimo. Fixes #24202 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r24792 r24837  
    20182018 */ 
    20192019function get_post_gallery_images( $post = 0 ) { 
    2020     $galleries = get_post_gallery( $post, false ); 
     2020    $gallery = get_post_gallery( $post, false ); 
    20212021    return empty( $gallery['src'] ) ? array() : $gallery['src']; 
    20222022} 
Note: See TracChangeset for help on using the changeset viewer.