WordPress.org

Make WordPress Core

Opened 12 months ago

Last modified 10 months ago

#24270 closed defect (bug)

Post Formats: get_post_galleries() can return an array when asked for a string — at Initial Version

Reported by: kovshenin Owned by:
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Post Formats Keywords: has-patch commit
Focuses: Cc:

Description

If the requested post is not found or does not contain a gallery shortcode, get_post_galleries returns an empty array, regardless of what the $html argument is set to.

Change History (1)

kovshenin12 months ago

Note: See TracTickets for help on using tickets.