Make WordPress Core


Ignore:
Timestamp:
08/09/2012 06:21:58 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500. Props nacin and SergeyBiryukov.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/functions.php

    r21487 r21490  
    338338add_filter( 'excerpt_length', 'twentyeleven_excerpt_length' );
    339339
     340if ( ! function_exists( 'twentyeleven_continue_reading_link' ) ) :
    340341/**
    341342 * Returns a "Continue Reading" link for excerpts
     
    344345    return ' <a href="'. esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) . '</a>';
    345346}
     347endif; // twentyeleven_continue_reading_link
    346348
    347349/**
Note: See TracChangeset for help on using the changeset viewer.