diff --git a/src/wp-content/themes/twentyten/loop-attachment.php b/src/wp-content/themes/twentyten/loop-attachment.php index 4e33d126c7..3976b0d6e8 100644 --- a/src/wp-content/themes/twentyten/loop-attachment.php +++ b/src/wp-content/themes/twentyten/loop-attachment.php @@ -18,7 +18,7 @@ post_parent ) ) : ?> -

← %s', 'twentyten' ), get_the_title( $post->post_parent ) ); ?>

@@ -52,7 +52,7 @@ $metadata = wp_get_attachment_metadata(); printf( __( 'Full size is %s pixels', 'twentyten' ), sprintf( '%3$s × %4$s', - wp_get_attachment_url(), + esc_url( wp_get_attachment_url() ), esc_attr( __( 'Link to full-size image', 'twentyten' ) ), $metadata['width'], $metadata['height'] @@ -85,7 +85,7 @@ $next_attachment_url = wp_get_attachment_url(); } ?> -

- +

post_excerpt ) ) the_excerpt(); ?>