[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 22:40:00 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 swissspidy):
[attachment:36934.4.diff] is a refreshed patch to get the ball rolling
again.
I'd have to dig a bit into the history, but perhaps we should just change
the failing tests I mentioned previously.
They fail because of the change I mentioned in
https://core.trac.wordpress.org/ticket/36934#comment:39.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36934#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list