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:
parent
68c9199819
commit
3723898d5b
@ -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'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user