Make WordPress Core

Ticket #24203: 24203.diff

File 24203.diff, 18.1 KB (added by nacin, 10 years ago)
  • wp-content/themes/twentyten/loop.php

     
    5959
    6060        <?php if ( ( function_exists( 'get_post_format' ) && 'gallery' == get_post_format( $post->ID ) ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?>
    6161                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    62                         <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     62                        <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    6363
    6464                        <div class="entry-meta">
    6565                                <?php twentyten_posted_on(); ?>
     
    127127
    128128        <?php else : ?>
    129129                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    130                         <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     130                        <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    131131
    132132                        <div class="entry-meta">
    133133                                <?php twentyten_posted_on(); ?>
  • wp-content/themes/twentytwelve/content-aside.php

     
    1010
    1111        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1212                <div class="aside">
    13                         <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
     13                        <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    1414                        <div class="entry-content">
    1515                                <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?>
    1616                        </div><!-- .entry-content -->
  • wp-content/themes/twentytwelve/content.php

     
    2020                        <h1 class="entry-title"><?php the_title(); ?></h1>
    2121                        <?php else : ?>
    2222                        <h1 class="entry-title">
    23                                 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     23                                <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    2424                        </h1>
    2525                        <?php endif; // is_single() ?>
    2626                        <?php if ( comments_open() ) : ?>
  • wp-content/themes/twentytwelve/content-image.php

     
    1414                </div><!-- .entry-content -->
    1515
    1616                <footer class="entry-meta">
    17                         <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark">
     17                        <a href="<?php the_permalink(); ?>" rel="bookmark">
    1818                                <h1><?php the_title(); ?></h1>
    1919                                <h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo get_the_date(); ?></time></h2>
    2020                        </a>
  • wp-content/themes/twentyeleven/content-aside.php

     
    1313        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1414                <header class="entry-header">
    1515                        <hgroup>
    16                                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     16                                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    1717                                <h3 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h3>
    1818                        </hgroup>
    1919
  • wp-content/themes/twentyeleven/content-link.php

     
    1313        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1414                <header class="entry-header">
    1515                        <hgroup>
    16                                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     16                                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    1717                                <h3 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h3>
    1818                        </hgroup>
    1919
  • wp-content/themes/twentyeleven/content-featured.php

     
    1111?>
    1212<article id="post-<?php the_ID(); ?>" <?php post_class( $feature_class ); ?>>
    1313        <header class="entry-header">
    14                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     14                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    1515
    1616                <div class="entry-meta">
    1717                        <?php twentyeleven_posted_on(); ?>
  • wp-content/themes/twentyeleven/content.php

     
    1212                <header class="entry-header">
    1313                        <?php if ( is_sticky() ) : ?>
    1414                                <hgroup>
    15                                         <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     15                                        <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    1616                                        <h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
    1717                                </hgroup>
    1818                        <?php else : ?>
    19                         <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
     19                        <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    2020                        <?php endif; ?>
    2121
    2222                        <?php if ( 'post' == get_post_type() ) : ?>
  • wp-content/themes/twentyeleven/showcase.php

     
    196196                                        while ( $recent->have_posts() ) : $recent->the_post(); ?>
    197197
    198198                                                <li class="entry-title">
    199                                                         <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     199                                                        <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    200200                                                        <span class="comments-link">
    201201                                                                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?>
    202202                                                        </span>
  • wp-content/themes/twentyeleven/content-image.php

     
    1212        <article id="post-<?php the_ID(); ?>" <?php post_class( 'indexed' ); ?>>
    1313                <header class="entry-header">
    1414                        <hgroup>
    15                                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     15                                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    1616                                <h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
    1717                        </hgroup>
    1818
  • wp-content/themes/twentyeleven/content-status.php

     
    1212        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1313                <header class="entry-header">
    1414                        <hgroup>
    15                                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     15                                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    1616                                <h3 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h3>
    1717                        </hgroup>
    1818
  • wp-content/themes/twentyeleven/content-quote.php

     
    1111        <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1212                <header class="entry-header">
    1313                        <hgroup>
    14                                 <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     14                                <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    1515                                <h3 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h3>
    1616                        </hgroup>
    1717
  • wp-content/themes/twentyeleven/content-gallery.php

     
    1313<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1414        <header class="entry-header">
    1515                <hgroup>
    16                         <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     16                        <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    1717                        <h3 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h3>
    1818                </hgroup>
    1919
  • wp-content/themes/twentyeleven/inc/widgets.php

     
    8686                                <?php if ( 'link' != get_post_format() ) : ?>
    8787
    8888                                <li class="widget-entry-title">
    89                                         <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     89                                        <a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark"><?php the_title(); ?></a>
    9090                                        <span class="comments-link">
    9191                                                <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?>
    9292                                        </span>
     
    9595                                <?php else : ?>
    9696
    9797                                <li class="widget-entry-title">
    98                                         <a href="<?php echo esc_url( twentyeleven_get_first_url() ); ?>" title="<?php echo esc_attr( sprintf( __( 'Link to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?>&nbsp;<span>&rarr;</span></a>
     98                                        <a href="<?php echo esc_url( twentyeleven_get_first_url() ); ?>" rel="bookmark"><?php the_title(); ?>&nbsp;<span>&rarr;</span></a>
    9999                                        <span class="comments-link">
    100100                                                <?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?>
    101101                                        </span>
  • wp-content/themes/twentythirteen/content-link.php

     
    1111<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1212        <header class="entry-header">
    1313                <h1 class="entry-title">
    14                         <a href="<?php echo esc_url( twentythirteen_get_link_url() ); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
     14                        <a href="<?php echo esc_url( twentythirteen_get_link_url() ); ?>"><?php the_title(); ?></a>
    1515                </h1>
    1616
    1717                <div class="entry-meta">
  • wp-content/themes/twentythirteen/content.php

     
    2020                <h1 class="entry-title"><?php the_title(); ?></h1>
    2121                <?php else : ?>
    2222                <h1 class="entry-title">
    23                         <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     23                        <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    2424                </h1>
    2525                <?php endif; // is_single() ?>
    2626
  • wp-content/themes/twentythirteen/content-image.php

     
    1818                <h1 class="entry-title"><?php the_title(); ?></h1>
    1919                <?php else : ?>
    2020                <h1 class="entry-title">
    21                         <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     21                        <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    2222                </h1>
    2323                <?php endif; // is_single() ?>
    2424        </header><!-- .entry-header -->
  • wp-content/themes/twentythirteen/content-gallery.php

     
    1414                <h1 class="entry-title"><?php the_title(); ?></h1>
    1515                <?php else : ?>
    1616                <h1 class="entry-title">
    17                         <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     17                        <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    1818                </h1>
    1919                <?php endif; // is_single() ?>
    2020        </header><!-- .entry-header -->
  • wp-content/themes/twentythirteen/content-audio.php

     
    1414                <h1 class="entry-title"><?php the_title(); ?></h1>
    1515                <?php else : ?>
    1616                <h1 class="entry-title">
    17                         <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     17                        <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    1818                </h1>
    1919                <?php endif; // is_single() ?>
    2020        </header><!-- .entry-header -->
  • wp-content/themes/twentythirteen/content-video.php

     
    1818                <h1 class="entry-title"><?php the_title(); ?></h1>
    1919                <?php else : ?>
    2020                <h1 class="entry-title">
    21                         <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     21                        <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    2222                </h1>
    2323                <?php endif; // is_single() ?>
    2424        </header><!-- .entry-header -->
  • wp-content/themes/twentythirteen/content-chat.php

     
    1414                <h1 class="entry-title"><?php the_title(); ?></h1>
    1515                <?php else : ?>
    1616                <h1 class="entry-title">
    17                         <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
     17                        <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    1818                </h1>
    1919                <?php endif; // is_single() ?>
    2020        </header><!-- .entry-header -->