[wp-trac] [WordPress Trac] #17030: Introduce wp_make_excerpt

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 2 23:17:32 UTC 2011


#17030: Introduce wp_make_excerpt
--------------------------+-----------------------
 Reporter:  filosofo      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.2
Component:  Formatting    |    Version:  3.1
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 Currently, there is no sensible way to generate an excerpt, given a text
 string of text.

 If you pass a non-empty string of text to `wp_trim_excerpt`, it just
 returns the text to you.

 Patch introduces `wp_make_excerpt`, which given a string and optional
 length and ellipses parameters, returns that string, excerpted.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17030>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list