Make WordPress Core


Ignore:
Timestamp:
10/29/2019 02:53:27 PM (7 years ago)
Author:
desrosj
Message:

Bundled Themes: Update Twenty Twenty.

This brings trunk’s version of Twenty Twenty in-sync with GitHub.

For a complete list of changes since [46571], see https://github.com/WordPress/twentytwenty/compare/4549fd9...dea9290.

Props anlino, ianbelanger, poena, williampatton, collet, erikkroes, torres126, intimez, byalextran, mehidi258, swapnild, nielslange.
Fixes #48450.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/inc/template-tags.php

    r46571 r46613  
    232232                return;
    233233        }
    234 
    235         $page_template = get_page_template_slug( $post_id );
    236234
    237235        /**
     
    363361                                        $has_meta = true;
    364362                                        ?>
    365                                         <li class="post-date">
    366                                                 <a class="meta-wrapper" href="<?php the_permalink(); ?>">
    367                                                         <span class="meta-icon">
    368                                                                 <span class="screen-reader-text"><?php _e( 'Post date', 'twentytwenty' ); ?></span>
    369                                                                 <?php twentytwenty_the_theme_svg( 'calendar' ); ?>
    370                                                         </span>
    371                                                         <span class="meta-text">
    372                                                                 <?php the_time( get_option( 'date_format' ) ); ?>
    373                                                         </span>
    374                                                 </a>
     363                                        <li class="post-date meta-wrapper">
     364                                                <span class="meta-icon">
     365                                                        <span class="screen-reader-text"><?php _e( 'Post date', 'twentytwenty' ); ?></span>
     366                                                        <?php twentytwenty_the_theme_svg( 'calendar' ); ?>
     367                                                </span>
     368                                                <span class="meta-text">
     369                                                        <a href="<?php the_permalink(); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a>
     370                                                </span>
    375371                                        </li>
    376372                                        <?php
Note: See TracChangeset for help on using the changeset viewer.