[wp-trac] [WordPress Trac] #24270: Post Formats: get_post_gallery() can return an array when asked for a string (was: Post Formats: get_post_galleries() can return an array when asked for a string)
WordPress Trac
noreply at wordpress.org
Mon May 6 15:08:12 UTC 2013
#24270: Post Formats: get_post_gallery() can return an array when asked for a
string
--------------------------+--------------------
Reporter: kovshenin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Post Formats | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+--------------------
Description changed by kovshenin:
Old 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.
New description:
If the requested post is not found or does not contain a gallery
shortcode, `get_post_gallery` returns an empty array, regardless of what
the `$html` argument is set to.
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24270#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list