WordPress.org

Make WordPress Core

Changeset 15247


Ignore:
Timestamp:
06/14/10 08:24:34 (4 years ago)
Author:
nacin
Message:

Don't pass bogus argument to the_excerpt. props zeo, fixes #13883.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/loop.php

    r15222 r15247  
    8484                    ); ?></em></p> 
    8585 
    86                 <?php the_excerpt( '' ); ?> 
     86                <?php the_excerpt(); ?> 
    8787<?php endif; ?> 
    8888            </div><!-- .entry-content --> 
     
    131131    <?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?> 
    132132            <div class="entry-summary"> 
    133                 <?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?> 
     133                <?php the_excerpt(); ?> 
    134134            </div><!-- .entry-summary --> 
    135135    <?php else : ?> 
Note: See TracChangeset for help on using the changeset viewer.