WordPress.org

Make WordPress Core

Ticket #18156: 18156.2.patch

File 18156.2.patch, 2.5 KB (added by SergeyBiryukov, 7 years ago)
  • wp-content/themes/twentyeleven/content-gallery.php

     
    8484                <?php if ( $show_sep ) : ?>
    8585                <span class="sep"> | </span>
    8686                <?php endif; // End if $show_sep ?>
    87                 <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a Reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
     87                <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
    8888                <?php endif; // End if comments_open() ?>
    8989
    9090                <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
  • wp-content/themes/twentyeleven/image.php

     
    1616
    1717                        <nav id="nav-single">
    1818                                <h3 class="assistive-text"><?php _e( 'Image navigation', 'twentyeleven' ); ?></h3>
    19                                 <span class="nav-previous"><?php previous_image_link( false, __( '&larr; Previous' , 'twentyeleven' ) ); ?></span>
    20                                 <span class="nav-next"><?php next_image_link( false, __( 'Next &rarr;' , 'twentyeleven' ) ); ?></span>
     19                                <span class="nav-previous"><?php previous_image_link( false, __( '<span class="meta-nav">&larr;</span> Previous' , 'twentyeleven' ) ); ?></span>
     20                                <span class="nav-next"><?php next_image_link( false, __( 'Next <span class="meta-nav">&rarr;</span>' , 'twentyeleven' ) ); ?></span>
    2121                        </nav><!-- #nav-single -->
    2222
    2323                                <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • wp-includes/post-template.php

     
    11611161        $post_title = esc_attr($_post->post_title);
    11621162
    11631163        if ( $text ) {
    1164                 $link_text = esc_attr($text);
     1164                $link_text = $text;
    11651165        } elseif ( ( is_int($size) && $size != 0 ) or ( is_string($size) && $size != 'none' ) or $size != false ) {
    11661166                $link_text = wp_get_attachment_image($id, $size, $icon);
    11671167        } else {