Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#4439 closed defect (bug) (fixed)

$fakeit switch in get_the_excerpt() is unused

Reported by: markjaquith Owned by:
Priority: normal Milestone: 2.3
Component: Template Version: 2.2
Severity: normal Keywords: the_excerpt get_the_excerpt fakeit has-patch
Cc: Focuses:

Description

The $fakeit switch in get_the_excerpt() is unused.

the_excerpt() lacks such a switch. Whether or not this was ever used, I think it'd be good functionality. Often times people want the ability to only show an excerpt if they've manually provided one.

Start your voting. Should I implement the feature or mark it as deprecated?

Attachments (1)

4439.diff​ (753 bytes ) - added by Nazgul 19 years ago.

Download all attachments as: .zip

Change History (4)

#1 @filosofo
19 years ago

I say deprecate, because you can do this now by removing the wp_trim_excerpt callback for the default 'get_the_excerpt' filter.

#2 @Nazgul
19 years ago

  • Keywords has-patch added

#3 @ryan
19 years ago

  • Resolution → fixed
  • Status new → closed

(In [6114]) Deprecate fakeit arg. Props Nazgul. fixes #4439

Note: See TracTickets for help on using tickets.