[wp-trac] [WordPress Trac] #27246: Add function to get the excerpt outside the loop
WordPress Trac
noreply at wordpress.org
Fri Jan 15 23:11:21 UTC 2016
#27246: Add function to get the excerpt outside the loop
---------------------------------------------+-------------------------
Reporter: Atoon | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.5
Component: Posts, Post Types | Version: 3.8.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: template
---------------------------------------------+-------------------------
Comment (by markoheijnen):
That's a good point. I also made myself guilty with copy/pasting the code
of `get_the_excerpt()`/`the_excerpt`. So it is a good thing to have. I'm
just thinking how the future would look like. Would be great to have a
roadmap for WP_Post and related classes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27246#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list