WordPress.org

Make WordPress Core

Changeset 24838


Ignore:
Timestamp:
07/29/2013 12:54:44 AM (5 years ago)
Author:
markjaquith
Message:

Fix a variable typo in get_post_gallery_images().

props rodrigosprimo. Fixes #24202 for 3.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6/wp-includes/media.php

    r24792 r24838  
    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.