[wp-trac] [WordPress Trac] #35487: Update has_excerpt()

WordPress Trac noreply at wordpress.org
Sat Jan 16 10:54:59 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:
-------------------------------+------------------------------

Comment (by sebastian.pisula):

 current fuction work bad too because in `$post->post_excerpt` I will be
 have excerpt and in get_the_excerpt I use filter to remove excerpt so
 `has_excerpt()` return `true` and `get_the_excerpt` return empty string ->
 except not exists

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35487#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list