[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
Sat Jul 1 17:48:08 UTC 2017
#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: 4.9
Component: Formatting | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing has-unit- | Focuses: template
tests dev-feedback |
-------------------------------------------------+-------------------------
Comment (by swissspidy):
@boonebgorges Sounds good to me.
I also just found [24598] the other day which sheds some light on
`get_the_content()` and all the global variables involved.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36934#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list