Make WordPress Core

Opened 18 years ago

Closed 17 years ago

#4439 closed defect (bug) (fixed)

$fakeit switch in get_the_excerpt() is unused

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

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 17 years ago.

Download all attachments as: .zip

Change History (4)

#1 @filosofo
18 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.

@Nazgul
17 years ago

#2 @Nazgul
17 years ago

  • Keywords has-patch added

#3 @ryan
17 years ago

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

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

Note: See TracTickets for help on using tickets.