Make WordPress Core

Opened 19 years ago

Closed 18 years ago

#1243 closed defect (bug) (wontfix)

wp_trim_excerpt shouldn't be a filter, but called directly from get_the_excerpt()

Reported by: wyrfel's profile wyrfel Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: General Keywords:
Focuses: Cc:


wp_trim_excerpt is a filter that is by default applied with priority 10 to the 'get_the_excerpt' filter hook. This means that filters don't get applied to the generated excerpt that are attached to the 'get_the_excerpt' hook with a priority <10.

Change History (2)

#1 @wyrfel
19 years ago

  • Patch set to No

#2 @mdawaffe
18 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

It was made a filter so that people could have more control. Change its priority or add your filters with priority > 10.

Note: See TracTickets for help on using tickets.