#17030 closed defect (bug) (duplicate)
Introduce wp_make_excerpt
Reported by: | filosofo | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | Formatting | Keywords: | |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
#16372