[wp-trac] [WordPress Trac] #8156: Unable to remove (more...) link
from the_content();
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 11 14:43:01 GMT 2008
#8156: Unable to remove (more...) link from the_content();
------------------------+---------------------------------------------------
Reporter: martinkivi | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Template | Version: 2.7
Severity: normal | Keywords:
------------------------+---------------------------------------------------
Hi
For the Wordpress 2.7 following code was added to lines 182-183 in post-
template.php
if ( null == $more_link_text )
$more_link_text = __( '(more...)' );
Unfortunately using this denies the possibility to removed (more...) link
from the_content(); completely. Both the_content(''); and <?php
the_content('',FALSE,''); ?> work properly with 2.6.3 codebase, but
doesn't work with 2.7.
I assume that this happens because when you have <?php
the_content('',FALSE,''); ?> it gives it a 0 value, which then gets
replaced with (more...) text.
Best regards,
Martin Kivi
--
Ticket URL: <http://trac.wordpress.org/ticket/8156>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list