updated theme Twenty Nineteen
version 2.2
This commit is contained in:
parent
b69b3e9ad3
commit
6316f81725
@ -96,12 +96,13 @@ function twentynineteen_get_the_archive_title() {
|
||||
add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' );
|
||||
|
||||
/**
|
||||
* Add custom sizes attribute to responsive image functionality for post thumbnails.
|
||||
* Add custom 'sizes' attribute to responsive image functionality for post thumbnails.
|
||||
*
|
||||
* @origin Twenty Nineteen 1.0
|
||||
*
|
||||
* @param array $attr Attributes for the image markup.
|
||||
* @return string Value for use in post thumbnail 'sizes' attribute.
|
||||
* @param string[] $attr Array of attribute values for the image markup, keyed by attribute name.
|
||||
* See wp_get_attachment_image().
|
||||
* @return string[] The filtered attributes for the image markup.
|
||||
*/
|
||||
function twentynineteen_post_thumbnail_sizes_attr( $attr ) {
|
||||
|
||||
|
@ -208,8 +208,7 @@ if ( ! function_exists( 'twentynineteen_comment_form' ) ) :
|
||||
|
||||
comment_form(
|
||||
array(
|
||||
'logged_in_as' => null,
|
||||
'title_reply' => null,
|
||||
'title_reply' => null,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
1047
wp-content/themes/twentynineteen/package-lock.json
generated
1047
wp-content/themes/twentynineteen/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "twentynineteen",
|
||||
"version": "2.1.0",
|
||||
"version": "2.2.0",
|
||||
"description": "Default WP Theme",
|
||||
"bugs": {
|
||||
"url": "https://core.trac.wordpress.org/"
|
||||
@ -8,13 +8,13 @@
|
||||
"homepage": "https://wordpress.org/themes/twentynineteen/",
|
||||
"devDependencies": {
|
||||
"@wordpress/browserslist-config": "^4.0.1",
|
||||
"autoprefixer": "^9.8.6",
|
||||
"chokidar-cli": "^2.1.0",
|
||||
"node-sass": "^6.0.0",
|
||||
"autoprefixer": "^9.8.8",
|
||||
"chokidar-cli": "^3.0.0",
|
||||
"node-sass": "^6.0.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss-cli": "^7.1.2",
|
||||
"postcss-focus-within": "^4.0.0",
|
||||
"rtlcss": "^3.2.0"
|
||||
"rtlcss": "^3.5.0"
|
||||
},
|
||||
"rtlcssConfig": {
|
||||
"options": {
|
||||
|
@ -2,8 +2,8 @@
|
||||
Contributors: wordpressdotorg
|
||||
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready, block-patterns
|
||||
Requires at least: 4.9.6
|
||||
Tested up to: 5.8
|
||||
Stable tag: 2.1
|
||||
Tested up to: 5.9
|
||||
Stable tag: 2.2
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -24,7 +24,7 @@ For more information about Twenty Nineteen please go to https://wordpress.org/su
|
||||
|
||||
== Copyright ==
|
||||
|
||||
Twenty Nineteen WordPress Theme, Copyright 2018-2021 WordPress.org
|
||||
Twenty Nineteen WordPress Theme, Copyright 2018-2022 WordPress.org
|
||||
Twenty Nineteen is distributed under the terms of the GNU GPL
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
@ -39,6 +39,11 @@ GNU General Public License for more details.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.2 =
|
||||
* Released: January 25, 2022
|
||||
|
||||
https://codex.wordpress.org/Twenty_Nineteen_Theme_Changelog#Version_2.2
|
||||
|
||||
= 2.1 =
|
||||
* Released: July 20, 2021
|
||||
|
||||
@ -101,7 +106,7 @@ Initial release
|
||||
|
||||
== Resources ==
|
||||
* normalize.css, © 2012-2018 Nicolas Gallagher and Jonathan Neal, MIT
|
||||
* Underscores, © 2012-2021 Automattic, Inc., GNU GPL v2 or later
|
||||
* Underscores, © 2012-2022 Automattic, Inc., GNU GPL v2 or later
|
||||
* Bundled block pattern images:
|
||||
* Abstract Background by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-background-0SRRVNMKBX
|
||||
* Abstract Waves by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-waves-0KREGLTZQ3
|
||||
|
@ -5,9 +5,10 @@ Theme URI: https://wordpress.org/themes/twentynineteen/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether you’re running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
|
||||
Tested up to: 5.9
|
||||
Requires at least: 4.9.6
|
||||
Requires PHP: 5.2.4
|
||||
Version: 2.1
|
||||
Version: 2.2
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentynineteen
|
||||
|
@ -5,9 +5,10 @@ Theme URI: https://wordpress.org/themes/twentynineteen/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether you’re running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
|
||||
Tested up to: 5.9
|
||||
Requires at least: 4.9.6
|
||||
Requires PHP: 5.2.4
|
||||
Version: 2.1
|
||||
Version: 2.2
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentynineteen
|
||||
|
@ -4,9 +4,10 @@ Theme URI: https://wordpress.org/themes/twentynineteen/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether you’re running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
|
||||
Tested up to: 5.9
|
||||
Requires at least: 4.9.6
|
||||
Requires PHP: 5.2.4
|
||||
Version: 2.1
|
||||
Version: 2.2
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentynineteen
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
||||
|
||||
<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
|
||||
<aside class="widget-area" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
|
||||
<?php
|
||||
if ( is_active_sidebar( 'sidebar-1' ) ) {
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user