mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Bundled Themes: Correct @since
tags to refer to the theme version instead of WordPress version.
This makes `@since` notations in Twenty Seventeen, Twenty Nineteen, and Twenty Twenty consistent with the previous bundled themes. See #48303. Built from https://develop.svn.wordpress.org/trunk@46827 git-svn-id: http://core.svn.wordpress.org/trunk@46627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d53103ed62
commit
6677070a13
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -17,7 +17,7 @@
|
||||
* All icons are assumed to have equal width and height, hence the option
|
||||
* to only specify a `$size` parameter in the svg methods.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
class TwentyNineteen_SVG_Icons {
|
||||
|
||||
|
@ -4,13 +4,13 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* This class outputs custom comment walker for HTML5 friendly WordPress comment and threaded replies.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
class TwentyNineteen_Walker_Comment extends Walker_Comment {
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
?><!doctype html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage TwentyNineteen
|
||||
* @since 1.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'twentynineteen_posted_on' ) ) :
|
||||
|
@ -11,7 +11,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
$discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
?>
|
||||
<div class="site-branding">
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
if ( (bool) get_the_author_meta( 'description' ) ) : ?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Nineteen
|
||||
* @since 1.0.0
|
||||
* @since Twenty Nineteen 1.0
|
||||
*/
|
||||
|
||||
/* Get data from current discussion on post. */
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.2
|
||||
*/
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'twentyseventeen_posted_on' ) ) :
|
||||
|
@ -11,7 +11,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.2
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.2
|
||||
*/
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.2
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.2
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.2
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.2
|
||||
*/
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Seventeen
|
||||
* @since 1.0
|
||||
* @since Twenty Seventeen 1.0
|
||||
* @version 1.2
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Color Calculations.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param {string} backgroundColor - The background color.
|
||||
* @param {number} accentHue - The hue for our accent color.
|
||||
@ -29,7 +29,7 @@ function _twentyTwentyColor( backgroundColor, accentHue ) {
|
||||
* For improved performance we only build half the array
|
||||
* depending on dark/light background-color.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @return {Object} - this
|
||||
*/
|
||||
@ -51,7 +51,7 @@ _twentyTwentyColor.prototype.setAccentColorsArray = function() {
|
||||
/**
|
||||
* Get a score for this color in contrast to its background color and surrounding text.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
* @param {number} contrastBackground - WCAG contrast with the background color.
|
||||
* @param {number} contrastSurroundingText - WCAG contrast with surrounding text.
|
||||
* @return {number} - 0 is best, higher numbers have bigger difference with the desired scores.
|
||||
@ -111,7 +111,7 @@ _twentyTwentyColor.prototype.setAccentColorsArray = function() {
|
||||
/**
|
||||
* Get accessible text-color.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @return {Color} - Returns a Color object.
|
||||
*/
|
||||
@ -122,7 +122,7 @@ _twentyTwentyColor.prototype.getTextColor = function() {
|
||||
/**
|
||||
* Get accessible color for the defined accent-hue and background-color.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @return {Color} - Returns a Color object.
|
||||
*/
|
||||
@ -142,7 +142,7 @@ _twentyTwentyColor.prototype.getAccentColor = function() {
|
||||
/**
|
||||
* Return a new instance of the _twentyTwentyColor object.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
* @param {string} backgroundColor - The background color.
|
||||
* @param {number} accentHue - The hue for our accent color.
|
||||
* @return {Object} - this
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Contains extra logic for our Customizer controls & settings.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
( function() {
|
||||
@ -40,7 +40,7 @@
|
||||
/**
|
||||
* Updates the value of the "accent_accessible_colors" setting.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param {string} context The area for which we want to get colors. Can be for example "content", "header" etc.
|
||||
* @param {string} backgroundColor The background color (HEX value).
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
( function( $, api, _ ) {
|
||||
@ -146,7 +146,7 @@
|
||||
/**
|
||||
* Add styles to elements in the preview pane.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param {string} context The area for which we want to generate styles. Can be for example "content", "header" etc.
|
||||
*
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Remove squared button style
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
/* global wp */
|
||||
wp.domReady( function() {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( ! class_exists( 'TwentyTwenty_Customize' ) ) {
|
||||
@ -134,7 +134,7 @@ if ( ! class_exists( 'TwentyTwenty_Customize' ) ) {
|
||||
* The control is a hue-only colorpicker, and there is a separate setting that holds values
|
||||
* for other colors calculated based on the selected hue and various background-colors on the page.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
// Add the setting for the hue colorpicker.
|
||||
@ -414,7 +414,7 @@ if ( ! class_exists( 'TwentyTwenty_Customize' ) ) {
|
||||
*
|
||||
* @static
|
||||
* @access public
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
* @param array $value The value we want to sanitize.
|
||||
* @return array Returns sanitized value. Each item in the array gets sanitized separately.
|
||||
*/
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( ! class_exists( 'TwentyTwenty_Non_Latin_Languages' ) ) {
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( ! class_exists( 'TwentyTwenty_Script_Loader' ) ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( class_exists( 'WP_Customize_Control' ) ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( ! class_exists( 'TwentyTwenty_SVG_Icons' ) ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( ! class_exists( 'TwentyTwenty_Walker_Comment' ) ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( ! class_exists( 'TwentyTwenty_Walker_Page' ) ) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -232,7 +232,7 @@ add_action( 'wp_print_footer_scripts', 'twentytwenty_skip_link_focus_fix' );
|
||||
|
||||
/** Enqueue non-latin language styles
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@ -578,7 +578,7 @@ add_filter( 'the_content_more_link', 'twentytwenty_read_more_tag' );
|
||||
/**
|
||||
* Enqueues scripts for customizer controls & settings.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@ -601,7 +601,7 @@ add_action( 'customize_controls_enqueue_scripts', 'twentytwenty_customize_contro
|
||||
/**
|
||||
* Enqueue scripts for the customizer preview.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
@ -627,7 +627,7 @@ add_action( 'customize_preview_init', 'twentytwenty_customize_preview_init' );
|
||||
/**
|
||||
* Get accessible color for an area.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param string $area The area we want to get the colors for.
|
||||
* @param string $context Can be 'text' or 'accent'.
|
||||
@ -666,7 +666,7 @@ function twentytwenty_get_color_for_area( $area = 'content', $context = 'text' )
|
||||
/**
|
||||
* Returns an array of variables for the customizer preview.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
@ -685,7 +685,7 @@ function twentytwenty_get_customizer_color_vars() {
|
||||
/**
|
||||
* Get an array of elements.
|
||||
*
|
||||
* @since 1.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
@ -749,7 +749,7 @@ function twentytwenty_get_elements_array() {
|
||||
/**
|
||||
* Filters Twenty Twenty theme elements
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param array Array of elements
|
||||
*/
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
?><!DOCTYPE html>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'twentytwenty_generate_css' ) ) {
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -14,7 +14,7 @@
|
||||
*
|
||||
* Passes it through the `twentytwenty_starter_content` filter before returning.
|
||||
*
|
||||
* @since Twenty Twenty 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
* @return array a filtered array of args for the starter_content.
|
||||
*/
|
||||
function twentytwenty_get_starter_content() {
|
||||
@ -208,7 +208,7 @@ function twentytwenty_get_starter_content() {
|
||||
/**
|
||||
* Filters Twenty Twenty array of starter content.
|
||||
*
|
||||
* @since Twenty Twenty 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param array $starter_content Array of starter content.
|
||||
*/
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'twentytwenty_the_theme_svg' ) ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -106,7 +106,7 @@ function twentytwenty_site_description( $echo = true ) {
|
||||
/**
|
||||
* Filters the html for the site description.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param string $html The HTML to display.
|
||||
* @param string $description Site description via `bloginfo()`.
|
||||
@ -237,7 +237,7 @@ function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' )
|
||||
*
|
||||
* This filter can be used to hide post meta information of post, page or custom post type registerd by child themes or plugins
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param array Array of post types
|
||||
*/
|
||||
@ -257,7 +257,7 @@ function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' )
|
||||
*
|
||||
* Use this filter to hide post meta information like Author, Post date, Comments, Is sticky status
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param array $args {
|
||||
* @type string 'author'
|
||||
@ -284,7 +284,7 @@ function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' )
|
||||
*
|
||||
* Use this filter to hide post tags
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param array $args {
|
||||
* @type string 'tags'
|
||||
@ -325,7 +325,7 @@ function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' )
|
||||
*
|
||||
* Allow output of additional post meta info to be added by child themes and plugins.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param int $post_ID Post ID.
|
||||
*/
|
||||
@ -448,7 +448,7 @@ function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' )
|
||||
*
|
||||
* Allow output of additional post meta info to be added by child themes and plugins.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param int $post_ID Post ID.
|
||||
*/
|
||||
@ -747,7 +747,7 @@ function twentytwenty_toggle_duration() {
|
||||
/**
|
||||
* Filters the animation duration/speed used usually for submenu toggles.
|
||||
*
|
||||
* @since 1.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param integer $duration Duration in milliseconds.
|
||||
*/
|
||||
|
@ -11,7 +11,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
@ -57,7 +57,7 @@
|
||||
/**
|
||||
* Allow child themes and plugins to filter the display of the categories in the article header.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param bool Whether to show the categories in article header, Default true.
|
||||
*/
|
||||
|
@ -8,7 +8,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( (bool) get_the_author_meta( 'description' ) && (bool) get_theme_mod( 'show_author_bio', true ) ) : ?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
$entry_header_classes = '';
|
||||
@ -23,7 +23,7 @@ if ( is_singular() ) {
|
||||
/**
|
||||
* Allow child themes and plugins to filter the display of the categories in the entry header.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*
|
||||
* @param bool Whether to show the categories in header, Default true.
|
||||
*/
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
if ( has_post_thumbnail() && ! post_password_required() ) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
$has_footer_menu = has_nav_menu( 'footer' );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
$next_post = get_next_post();
|
||||
|
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Twenty
|
||||
* @since 1.0
|
||||
* @since Twenty Twenty 1.0
|
||||
*/
|
||||
|
||||
get_template_part( 'singular' );
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-46826';
|
||||
$wp_version = '5.4-alpha-46827';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user