[wp-trac] [WordPress Trac] #13588: Continue Reading apears unecesarily on the Twenty Ten attachent page

WordPress Trac wp-trac at lists.automattic.com
Fri May 28 05:22:41 UTC 2010


#13588: Continue Reading apears unecesarily on  the Twenty Ten attachent page
-----------------------------+----------------------------------------------
 Reporter:  tomthewebmaster  |        Owner:           
     Type:  defect (bug)     |       Status:  closed   
 Priority:  normal           |    Milestone:           
Component:  General          |      Version:  3.0      
 Severity:  normal           |   Resolution:  duplicate
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by nacin):

  * status:  new => closed
  * resolution:  => duplicate
  * milestone:  3.0 =>


Comment:

 This is indeed due to the_excerpt().

 I had discussed this with iandstewart (via IRC, cross-reference is #13361)
 that there are a few cases for "Continue reading..."

  - Manual (user-provided) excerpt. These will not be cut by the_excerpt()
 but should have "Continue reading..." appended.

  - Automatic excerpt that is trimmed. This triggers the excerpt_more
 filter, so we can change [...] to ..., and append "Continue reading..."

  - Excerpt that matches the content (may be automatic, or manual). If
 automatic, this means the content is too short to need a trim. We can
 still append "Continue reading..." because there's more things on the
 single page (comments, etc.) and as it is consistent with the others
 (though not needed).

 I'm going to re-open #13361 so we can ponder it further and close this one
 as a duplicate. I think Ian's last patch might be a better solution.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13588#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list