|
@@ -287,7 +287,7 @@ function bones_filter_ptags_on_images($content){
|
|
|
function bones_excerpt_more($more) {
|
|
function bones_excerpt_more($more) {
|
|
|
global $post;
|
|
global $post;
|
|
|
// edit here if you like
|
|
// edit here if you like
|
|
|
- return '... <a class="excerpt-read-more" href="'. get_permalink($post->ID) . '" title="'. __( 'Read ', 'bonestheme' ) . get_the_title($post->ID).'">'. __( 'Read more »', 'bonestheme' ) .'</a>';
|
|
|
|
|
|
|
+ return '... <a class="excerpt-read-more" href="'. get_permalink( $post->ID ) . '" title="'. __( 'Read ', 'bonestheme' ) . esc_attr( get_the_title( $post->ID ) ).'">'. __( 'Read more »', 'bonestheme' ) .'</a>';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|