[wp-trac] [WordPress Trac] #27246: Add function to get the excerpt outside the loop

WordPress Trac noreply at wordpress.org
Mon Dec 28 20:58:59 UTC 2015


#27246: Add function to get the excerpt outside the loop
----------------------------------------+-----------------------------
 Reporter:  Atoon                       |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Posts, Post Types           |     Version:  3.8.1
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:  template
----------------------------------------+-----------------------------

Comment (by swissspidy):

 [attachment:27246.2.diff] is an updated patch that also adds some unit
 tests for `get_the_excerpt()`.

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


More information about the wp-trac mailing list