[wp-trac] Re: [WordPress Trac] #7449: "the_content" with translatable "(more)"

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 5 00:46:48 GMT 2008


#7449: "the_content" with translatable "(more)"
-------------------------+--------------------------------------------------
 Reporter:  msi08        |        Owner:  westi   
     Type:  enhancement  |       Status:  assigned
 Priority:  low          |    Milestone:  2.7     
Component:  i18n         |      Version:  2.6     
 Severity:  trivial      |   Resolution:          
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Comment (by Viper007Bond):

 Replying to [comment:2 westi]:
 > Replying to [comment:1 Viper007Bond]:
 > > Just uploaded what's a better patch IMO. Allows for a blank "more"
 link, a better test, and cleaner code.
 >
 > Patch looks good.
 >
 > Why do we need the code in the_content when it calls get_the_content
 can't we just do the NULL check in one place? (or is there something I'm
 missing here?)

 No, you're correct. I just was following the original reporter's ticket
 and not paying attention. Passing "NULL" to `get_the_content()` should
 work fine.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7449#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list