Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#17489 closed defect (bug) (fixed)

Twenty Eleven sends argument to the_excerpt(), which doesn't take any

Reported by: coffee2code's profile coffee2code Owned by: nacin's profile nacin
Milestone: 3.2 Priority: normal
Severity: trivial Version: 3.2
Component: Themes Keywords: has-patch
Focuses: Cc:


Unlike the_content(), the_excerpt() does not accept any arguments. The attempt to send a custom 'more' link text is futile and misleading.

This was also previously brought up in #13883 for Twenty Ten, so this appears to be a common misconception.

This was introduced in r17669 when Twenty Eleven was added to core.

Attached patch simply removes sending of the argument.

Attachments (1)

17489.diff (4.1 KB) - added by coffee2code 13 years ago.

Download all attachments as: .zip

Change History (3)

13 years ago

#1 @scribu
13 years ago

  • Milestone changed from Awaiting Review to 3.2

#2 @nacin
13 years ago

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

In [17953]:

the_excerpt() doesn't take an argument. props coffee2code. fixes #17489. see #13883.

Note: See TracTickets for help on using tickets.