[wp-trac] [WordPress Trac] #36934: Use of get_the_excerpt($post) is broken if post has no excerpt and you are inside a loop
WordPress Trac
noreply at wordpress.org
Thu Feb 15 21:43:57 UTC 2018
#36934: Use of get_the_excerpt($post) is broken if post has no excerpt and you are
inside a loop
-------------------------------------------------+-------------------------
Reporter: magicroundabout | Owner: swissspidy
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Future
Component: Formatting | Release
Severity: normal | Version: 4.5
Keywords: has-patch needs-testing has-unit- | Resolution:
tests dev-feedback | Focuses: template
-------------------------------------------------+-------------------------
Comment (by magicroundabout):
I'm not sure if it's allowed to "bump" tickets here, but this didn't make
it into 4.9 and it seems to have lost some traction.
I ran into this problem again today. I try to avoid using WP_Query loops
to prevent stomping on my globals, so I make a lot of use of arrays of
posts, and I really want to be able to properly do `get_the_excerpt( $post
)`.
Can I try to get some renewed interest in getting this closed?
Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36934#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list