[wp-trac] [WordPress Trac] #26812: Unable to get attachment information in post or page .

WordPress Trac noreply at wordpress.org
Sat Jan 11 15:27:12 UTC 2014


#26812: Unable to get attachment information in post or page .
--------------------------+------------------------------
 Reporter:  phpgenie      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.8
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by UmeshSingla):

 I couldn't replicate the issue, instead of using `get_the_id()` ( as it
 would have fetched my all posts ), I used the actual post id, and it works
 fine.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26812#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list