[wp-trac] [WordPress Trac] #11048: Add new is_excerpt conditional tag

WordPress Trac noreply at wordpress.org
Wed Sep 10 08:44:04 UTC 2014


#11048: Add new is_excerpt conditional tag
-------------------------------+------------------------------
 Reporter:  newkind            |       Owner:
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  close              |     Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  new is_excerpt conditional tag => close
 * component:  Plugins => Posts, Post Types
 * milestone:   => Awaiting Review


Comment:

 Replying to [comment:4 jakesee]:
 > For example, when a "trimmed version" of a post is called, shortcode
 callback can skip all translation and return empty string.

 Note that [source:tags/4.0/src/wp-includes/formatting.php#L2513
 wp_trim_excerpt()] normally strips all shortcodes.

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


More information about the wp-trac mailing list