Ticket #25054: 25054.titleattr-2.diff
File 25054.titleattr-2.diff, 16.0 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentyfourteen/author.php
27 27 the_post(); 28 28 29 29 printf( __( 'All posts by %s', 'twentyfourteen' ), sprintf( 30 '<span class="vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="me">%3$s</a></span>',30 '<span class="vcard"><a class="url fn n" href="%1$s" rel="me">%2$s</a></span>', 31 31 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 32 esc_attr( get_the_author() ),33 32 get_the_author() 34 33 ) ); 35 34 ?> -
wp-content/themes/twentyfourteen/content-aside.php
19 19 20 20 <div class="entry-meta"> 21 21 <span class="post-format"> 22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'aside' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'aside' ) ) ); ?>"><?php echo get_post_format_string( 'aside' ); ?></a>22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'aside' ) ); ?>"><?php echo get_post_format_string( 'aside' ); ?></a> 23 23 </span> 24 24 25 25 <?php twentyfourteen_posted_on(); ?> -
wp-content/themes/twentyfourteen/content-featured-post.php
6 6 ?> 7 7 8 8 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 9 <a class="attachment-featured-featured" href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyfourteen' ), the_title_attribute( 'echo=0' ) ) ); ?>"rel="<?php the_ID(); ?>">9 <a class="attachment-featured-featured" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>"> 10 10 <?php 11 11 if ( has_post_thumbnail() ) : 12 12 the_post_thumbnail( 'featured-thumbnail-featured' ); -
wp-content/themes/twentyfourteen/content-gallery.php
29 29 <?php echo wp_get_attachment_image( $image, 'featured-thumbnail-large' ); ?> 30 30 </div> 31 31 <?php elseif ( $image ) : ?> 32 <a class="attachment-featured-thumbnail" href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyfourteen' ), the_title_attribute( 'echo=0' ) ) ); ?>"rel="<?php the_ID(); ?>">32 <a class="attachment-featured-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>"> 33 33 <?php echo wp_get_attachment_image( $image, 'featured-thumbnail-large' ); ?> 34 34 </a> 35 35 <?php endif; ?> … … 51 51 52 52 <div class="entry-meta"> 53 53 <span class="post-format"> 54 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'gallery' ) ) ); ?>"><?php echo get_post_format_string( 'gallery' ); ?></a>54 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>"><?php echo get_post_format_string( 'gallery' ); ?></a> 55 55 </span> 56 56 57 57 <?php twentyfourteen_posted_on(); ?> -
wp-content/themes/twentyfourteen/content-image.php
27 27 28 28 <div class="entry-meta"> 29 29 <span class="post-format"> 30 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'image' ) ) ); ?>"><?php echo get_post_format_string( 'image' ); ?></a>30 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>"><?php echo get_post_format_string( 'image' ); ?></a> 31 31 </span> 32 32 33 33 <?php twentyfourteen_posted_on(); ?> -
wp-content/themes/twentyfourteen/content-link.php
19 19 20 20 <div class="entry-meta"> 21 21 <span class="post-format"> 22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'link' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'link' ) ) ); ?>"><?php echo get_post_format_string( 'link' ); ?></a>22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'link' ) ); ?>"><?php echo get_post_format_string( 'link' ); ?></a> 23 23 </span> 24 24 25 25 <?php twentyfourteen_posted_on(); ?> -
wp-content/themes/twentyfourteen/content-quote.php
19 19 20 20 <div class="entry-meta"> 21 21 <span class="post-format"> 22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'quote' ) ) ); ?>"><?php echo get_post_format_string( 'quote' ); ?></a>22 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>"><?php echo get_post_format_string( 'quote' ); ?></a> 23 23 </span> 24 24 25 25 <?php twentyfourteen_posted_on(); ?> -
wp-content/themes/twentyfourteen/content-video.php
27 27 28 28 <div class="entry-meta"> 29 29 <span class="post-format"> 30 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'video' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'twentyfourteen' ), get_post_format_string( 'video' ) ) ); ?>"><?php echo get_post_format_string( 'video' ); ?></a>30 <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'video' ) ); ?>"><?php echo get_post_format_string( 'video' ); ?></a> 31 31 </span> 32 32 33 33 <?php twentyfourteen_posted_on(); ?> -
wp-content/themes/twentyfourteen/footer.php
18 18 19 19 <div class="site-info"> 20 20 <?php do_action( 'twentyfourteen_credits' ); ?> 21 <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyfourteen' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyfourteen' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?></a>21 <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyfourteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?></a> 22 22 </div><!-- .site-info --> 23 23 </footer><!-- #colophon --> 24 24 </div><!-- #page --> -
wp-content/themes/twentyfourteen/functions.php
332 332 $next_attachment_url = get_attachment_link( array_shift( $attachment_ids ) ); 333 333 } 334 334 335 printf( '<a href="%1$s" title="%2$s" rel="attachment">%3$s</a>',335 printf( '<a href="%1$s" rel="attachment">%2$s</a>', 336 336 esc_url( $next_attachment_url ), 337 the_title_attribute( array( 'echo' => false ) ),338 337 wp_get_attachment_image( $post->ID, $attachment_size ) 339 338 ); 340 339 } -
wp-content/themes/twentyfourteen/header.php
28 28 29 29 <?php if ( get_header_image() ) : ?> 30 30 <div id="site-header"> 31 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"rel="home">31 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> 32 32 <img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /> 33 33 </a> 34 34 </div> … … 36 36 37 37 <header id="masthead" class="site-header" role="banner"> 38 38 <div class="header-main"> 39 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"rel="home"><?php bloginfo( 'name' ); ?></a></h1>39 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 40 40 41 41 <div class="header-extra"> 42 42 <div class="search-toggle"> … … 46 46 47 47 <nav role="navigation" class="site-navigation primary-navigation"> 48 48 <h1 class="screen-reader-text"><?php _e( 'Primary Menu', 'twentyfourteen' ); ?></h1> 49 <div class="screen-reader-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyfourteen' ); ?>"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a></div>49 <div class="screen-reader-text skip-link"><a href="#content"><?php _e( 'Skip to content', 'twentyfourteen' ); ?></a></div> 50 50 <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> 51 51 </nav> 52 52 </div> -
wp-content/themes/twentyfourteen/image.php
24 24 25 25 <span class="entry-date"><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time></span> 26 26 27 <span class="full-size-link"><a href="<?php echo wp_get_attachment_url(); ?>" title="Link to full-size image"><?php echo $metadata['width']; ?> × <?php echo $metadata['height']; ?></a></span>27 <span class="full-size-link"><a href="<?php echo wp_get_attachment_url(); ?>"><?php echo $metadata['width']; ?> × <?php echo $metadata['height']; ?></a></span> 28 28 29 <span class="parent-post-link"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="Return to <?php echo esc_attr( get_the_title( $post->post_parent ) ); ?>"rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span>29 <span class="parent-post-link"><a href="<?php echo get_permalink( $post->post_parent ); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span> 30 30 <?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?> 31 31 </div><!-- .entry-meta --> 32 32 </header><!-- .entry-header --> … … 58 58 <footer class="entry-meta"> 59 59 <?php 60 60 if ( comments_open() && pings_open() ) : // Comments and trackbacks open 61 printf( __( '<a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'twentyfourteen' ), get_trackback_url() );61 printf( __( '<a class="comment-link" href="#respond">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" rel="trackback">Trackback URL</a>.', 'twentyfourteen' ), get_trackback_url() ); 62 62 elseif ( ! comments_open() && pings_open() ) : // Only trackbacks open 63 printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post"rel="trackback">Trackback URL</a>.', 'twentyfourteen' ), get_trackback_url() );63 printf( __( 'Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" rel="trackback">Trackback URL</a>.', 'twentyfourteen' ), get_trackback_url() ); 64 64 elseif ( comments_open() && ! pings_open() ) : // Only comments open 65 _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'twentyfourteen' );65 _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond">post a comment</a>.', 'twentyfourteen' ); 66 66 elseif ( ! comments_open() && ! pings_open() ) : // Comments and trackbacks closed 67 67 _e( 'Both comments and trackbacks are currently closed.', 'twentyfourteen' ); 68 68 endif; -
wp-content/themes/twentyfourteen/inc/template-tags.php
94 94 if ( is_sticky() && is_home() && ! is_paged() ) 95 95 echo '<span class="featured-post">' . __( 'Sticky', 'twentyfourteen' ) . '</span>'; 96 96 97 printf( __( '<span class="entry-date"><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyfourteen' ),97 printf( __( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%5$s</a></span></span>', 'twentyfourteen' ), 98 98 esc_url( get_permalink() ), 99 esc_attr( get_the_time() ),100 99 esc_attr( get_the_date( 'c' ) ), 101 100 esc_html( get_the_date() ), 102 101 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 103 esc_attr( sprintf( __( 'View all posts by %s', 'twentyfourteen' ), get_the_author() ) ),104 102 get_the_author() 105 103 ); 106 104 } -
wp-content/themes/twentyfourteen/inc/widgets.php
156 156 the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); 157 157 endif; 158 158 159 printf( __( '<span class="entry-date"><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyfourteen' ),159 printf( __( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%6s</a></span></span>', 'twentyfourteen' ), 160 160 esc_url( get_permalink() ), 161 esc_attr( get_the_time() ),162 161 esc_attr( get_the_date( 'c' ) ), 163 162 esc_html( get_the_date() ), 164 163 esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), -
wp-content/themes/twentyfourteen/rtl.css
176 176 border-right: none; 177 177 } 178 178 179 .tag-links a:hover:before { 179 .tag-links a:hover:before, 180 .tag-links a:focus:before { 180 181 border-left-color: #2b2b2b; 181 182 } 182 183