WordPress.org

Make WordPress Core

Changeset 49584


Ignore:
Timestamp:
11/12/2020 09:20:21 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Bundled Themes: Introduce block patterns for Twenty Seventeen.

Props melchoyce, kjellr, onemaggie, ryelle, beafialho, bridgetwillard, poena.
Fixes #51100.

Location:
trunk/src/wp-content/themes/twentyseventeen
Files:
4 added
3 edited

Legend:

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

    r49208 r49584  
    4444     */
    4545    add_theme_support( 'title-tag' );
     46
     47    /*
     48     * Enables custom line height for blocks
     49     */
     50    add_theme_support( 'custom-line-height' );
    4651
    4752    /*
     
    665670 */
    666671require get_parent_theme_file_path( '/inc/icon-functions.php' );
     672
     673/**
     674 * Block Patterns.
     675 */
     676require get_template_directory() . '/inc/block-patterns.php';
  • trunk/src/wp-content/themes/twentyseventeen/readme.txt

    r49322 r49584  
    55License: GPLv2 or later
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html
    7 Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
     7Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns
    88
    99== Description ==
     
    5757License: CC0 1.0 Universal (CC0 1.0)
    5858Source: https://unsplash.com/@englr?photo=bIhpiQA009k
     59
     60Bundled block pattern images, Copyright Solo Shutter
     61License: CC0 1.0 Universal (CC0 1.0)
     62Source: https://stocksnap.io/photo/striped-lines-BTNYMDDCBW
     63        https://stocksnap.io/photo/striped-lines-5XWOPSWPWX
     64
     65Bundled block pattern image, Copyright Seacoast Sage
     66License: CC0 1.0 Universal (CC0 1.0)
     67Source: https://stocksnap.io/photo/striped-fabric-9CBVWF2CDU
    5968
    6069== Changelog ==
  • trunk/src/wp-content/themes/twentyseventeen/style.css

    r48775 r49584  
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1212Text Domain: twentyseventeen
    13 Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
     13Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns
    1414
    1515This theme, like WordPress, is licensed under the GPL.
Note: See TracChangeset for help on using the changeset viewer.