[wp-trac] [WordPress Trac] #35487: Update has_excerpt()
WordPress Trac
noreply at wordpress.org
Sat Jan 16 10:02:11 UTC 2016
#35487: Update has_excerpt()
-------------------------------+------------------------------
Reporter: sebastian.pisula | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Changes (by swissspidy):
* component: General => Posts, Post Types
Comment:
Hmm this could lead to false positives where the excerpt has been filtered
or when it is a private post.
For example, `get_the_excerpt()` returns `'There is no excerpt because
this is a protected post.'` for private posts, but `has_excerpt()` returns
`false`. With this patch, it would return `true`.
Sounds like a wontfix because of BC issues.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35487#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list