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

WordPress Trac noreply at wordpress.org
Sat Jun 29 15:48:31 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 commit  |
------------------------------+--------------------

Comment (by ocean90):

 I think that `get_content_images()` and `get_content_galleries()` should
 mention that `$html` is the type inside the array, which will be returned
 and isn't the same as for `get_post_gallery()`.

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


More information about the wp-trac mailing list