[wp-trac] [WordPress Trac] #17489: Twenty Eleven sends argument to the_excerpt(), which doesn't take any

WordPress Trac wp-trac at lists.automattic.com
Wed May 18 14:04:28 UTC 2011


#17489: Twenty Eleven sends argument to the_excerpt(), which doesn't take any
--------------------------+-----------------------------
 Reporter:  coffee2code   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  3.2
 Severity:  trivial       |   Keywords:  has-patch
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17489>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list