[wp-trac] [WordPress Trac] #24393: the_post_format_gallery() should not echo an empty array

WordPress Trac noreply at wordpress.org
Wed May 22 23:55:50 UTC 2013


#24393: the_post_format_gallery() should not echo an empty array
--------------------------+--------------------
 Reporter:  DrewAPicture  |       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 DrewAPicture:

Old description:

> As pointed out in #24391, if a gallery format doesn't contain a gallery
> and you're using `the_post_format_gallery()`, an empty array will be
> echoed. Patch attached.

New description:

 If a gallery format doesn't contain a gallery and you're using
 `the_post_format_gallery()`, an empty array might be echoed. Patch
 attached.

--

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24393#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list