Ticket #16500: 16500.patch
File 16500.patch, 1.6 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentyeleven/functions.php
320 320 } 321 321 add_filter( 'excerpt_length', 'twentyeleven_excerpt_length' ); 322 322 323 if ( ! function_exists( 'twentyeleven_continue_reading_link' ) ) : 323 324 /** 324 325 * Returns a "Continue Reading" link for excerpts 325 326 */ 326 327 function twentyeleven_continue_reading_link() { 327 328 return ' <a href="'. esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) . '</a>'; 328 329 } 330 endif; // twentyeleven_continue_reading_link 329 331 330 332 /** 331 333 * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyeleven_continue_reading_link(). -
wp-content/themes/twentyten/functions.php
238 238 } 239 239 add_filter( 'excerpt_length', 'twentyten_excerpt_length' ); 240 240 241 if ( ! function_exists( 'twentyten_continue_reading_link' ) ) : 241 242 /** 242 243 * Returns a "Continue Reading" link for excerpts 243 244 * … … 247 248 function twentyten_continue_reading_link() { 248 249 return ' <a href="'. get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) . '</a>'; 249 250 } 251 endif; // twentyten_continue_reading_link 250 252 251 253 /** 252 254 * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyten_continue_reading_link().