WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/15/2019 06:45:02 PM (17 months 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 [46445], see https://github.com/WordPress/twentytwenty/compare/7246fd6...bc89c51.

Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, netweb, joyously, mahesh901122, josephscott, byalextran, amolv, Clorith.
See #48110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/functions.php

    r46446 r46551  
    460460                'name'      => _x( 'Large', 'Name of the large font size in the block editor', 'twentytwenty' ),
    461461                'shortName' => _x( 'L', 'Short name of the large font size in the block editor.', 'twentytwenty' ),
    462                 'size'      => 24,
     462                'size'      => 26.25,
    463463                'slug'      => 'large',
    464464            ),
     
    481481
    482482add_action( 'after_setup_theme', 'twentytwenty_block_editor_settings' );
    483 
    484 /**
    485  * Read More Link
    486  * Overwrite default (more ...) tag
    487  */
    488 function twentytwenty_read_more_tag() {
    489     return sprintf(
    490         '<a href="%1$s" class="more-link faux-button">%2$s <span class="screen-reader-text">"%3$s"</span></a>',
    491         esc_url( get_permalink( get_the_ID() ) ),
    492         __( 'Continue reading', 'twentytwenty' ),
    493         esc_html( get_the_title( get_the_ID() ) )
    494     );
    495 }
    496 add_filter( 'the_content_more_link', 'twentytwenty_read_more_tag' );
    497483
    498484/**
     
    648634            ),
    649635            'background' => array(
    650                 'color'      => array( '.social-icons a', '.overlay-header .header-inner', 'body:not(.overlay-header) .primary-menu ul', '.header-footer-group button', '.header-footer-group .button', '.header-footer-group .faux-button', '.header-footer-group .wp-block-button:not(.is-style-outline) .wp-block-button__link', '.header-footer-group .wp-block-file__button', '.header-footer-group input[type="button"]', '.header-footer-group input[type="reset"]', '.header-footer-group input[type="submit"]' ),
     636                'color'      => array( '.social-icons a', 'body:not(.overlay-header) .primary-menu ul', '.header-footer-group button', '.header-footer-group .button', '.header-footer-group .faux-button', '.header-footer-group .wp-block-button:not(.is-style-outline) .wp-block-button__link', '.header-footer-group .wp-block-file__button', '.header-footer-group input[type="button"]', '.header-footer-group input[type="reset"]', '.header-footer-group input[type="submit"]' ),
    651637                'background' => array( '#site-header', '.footer-nav-widgets-wrapper', '#site-footer', '.menu-modal', '.menu-modal-inner', '.search-modal-inner', '.archive-header', '.singular .entry-header', '.singular .featured-media:before', '.wp-block-pullquote:before' ),
    652638            ),
Note: See TracChangeset for help on using the changeset viewer.