Fix a variable typo in get_post_gallery_images().

props rodrigosprimo. Fixes #24202 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24837 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2013-07-29 00:52:31 +00:00
parent 68c9199819
commit 3723898d5b

View File

@ -2017,6 +2017,6 @@ function get_post_galleries_images( $post = 0 ) {
* @return array A list of a gallery's image srcs in order
*/
function get_post_gallery_images( $post = 0 ) {
$galleries = get_post_gallery( $post, false );
$gallery = get_post_gallery( $post, false );
return empty( $gallery['src'] ) ? array() : $gallery['src'];
}