[wp-trac] [WordPress Trac] #31907: get_post_gallery()["src"] sometimes return empty on list views.

WordPress Trac noreply at wordpress.org
Mon Apr 6 15:34:01 UTC 2015


#31907: get_post_gallery()["src"] sometimes return empty on list views.
--------------------------+-----------------------------
 Reporter:  odie2         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Gallery       |    Version:  4.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello,

 As wrote there: [https://wordpress.org/support/topic/bug-get_post_gallery-
 on-7th-execution], sometimes `get_post_gallery()["src"]` is empty on list
 views (like post format view, main page pagination etc.)

 Only `["src"]` is not added to array (ids etc. are there), so it's
 returning false for if statement.

 Greetings

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31907>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list