[wp-trac] [WordPress Trac] #37519: Excerpts not retrieved outside loop when raw excerpt is empty

WordPress Trac noreply at wordpress.org
Sat Jul 30 00:41:35 UTC 2016


#37519: Excerpts not retrieved outside loop when raw excerpt is empty
-------------------------------+------------------------------
 Reporter:  iandunn            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.5
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  template
-------------------------------+------------------------------

Comment (by iandunn):

 `37519.diff` fixes the bug for me, but the new unit test still fails. I'm
 guessing the post factory isn't setup to automatically generate excerpts
 the way the actual code does, but don't have time to dig into that right
 now.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37519#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list