[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 Sep 10 18:06:29 UTC 2016
#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: assigned
Priority: normal | Milestone: 4.7
Component: Formatting | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit- | Focuses: template
tests 4.7-early |
-------------------------------------------------+-------------------------
Comment (by achbed):
Replying to [comment:26 swissspidy]:
> * Gets rid of the `$pages` and `$multipage` globals by moving logic to
`WP_Post`.
Should we have a quick scan done of the theme and plugin repository to see
if this affects anyone `doing_it_wrong()`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36934#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list