[wp-trac] [WordPress Trac] #24270: Post Formats: get_post_galleries() can return an array when asked for a string

WordPress Trac noreply at wordpress.org
Mon May 6 15:02:54 UTC 2013


#24270: Post Formats: get_post_galleries() 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        |   Keywords:
--------------------------+-------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24270>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list