Make WordPress Core

Changeset 26699


Ignore:
Timestamp:
12/05/2013 10:50:36 PM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: remove unneeded code from image template, see #25946.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/image.php

    r26586 r26699  
    5959                    ?>
    6060                </div><!-- .entry-content -->
    61 
    62                 <footer class="entry-meta">
    63                     <?php
    64                         if ( comments_open() && pings_open() ) : // Comments and trackbacks open
    65                             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() );
    66                         elseif ( ! comments_open() && pings_open() ) : // Only trackbacks open
    67                             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() );
    68                         elseif ( comments_open() && ! pings_open() ) : // Only comments open
    69                             _e( 'Trackbacks are closed, but you can <a class="comment-link" href="#respond">post a comment</a>.', 'twentyfourteen' );
    70                         elseif ( ! comments_open() && ! pings_open() ) : // Comments and trackbacks closed
    71                             _e( 'Both comments and trackbacks are currently closed.', 'twentyfourteen' );
    72                         endif;
    73                     ?>
    74                 </footer><!-- .entry-meta -->
    7561            </article><!-- #post-## -->
    7662
Note: See TracChangeset for help on using the changeset viewer.