Make WordPress Core

Ticket #51958: 51958.patch

File 51958.patch, 38.6 KB (added by poena, 3 years ago)

Replace @since

  • src/wp-content/themes/twentytwentyone/404.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212get_header();
  • src/wp-content/themes/twentytwentyone/archive.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212get_header();
  • src/wp-content/themes/twentytwentyone/assets/js/editor-dark-mode-support.js

     
    1010 *
    1111 * Wait for the editor to load by periodically checking for an element, then we add the classes.
    1212 *
    13  * @since 1.0.0
     13 * @since Twenty Twenty-One 1.0
    1414 *
    1515 * @param {number} attempt Track the number of tries
    1616 * @return {void}
  • src/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js

     
    99 *
    1010 * @param {Element} el - The element.
    1111 * @param {boolean} withListeners - Whether we want to add/remove listeners or not.
    12  * @since 1.0.0
     12 * @since Twenty Twenty-One 1.0
    1313 */
    1414function twentytwentyoneToggleAriaExpanded( el, withListeners ) {
    1515        if ( 'true' !== el.getAttribute( 'aria-expanded' ) ) {
  • src/wp-content/themes/twentytwentyone/assets/js/responsive-embeds.js

     
    77/**
    88 * Add max-width & max-height to <iframe> elements, depending on their width & height props.
    99 *
    10  * @since 1.0.0
     10 * @since Twenty Twenty-One 1.0
    1111 *
    1212 * @return {void}
    1313 */
  • src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010/**
     
    1717         *
    1818         * @access public
    1919         *
    20          * @since 1.0.0
     20         * @since Twenty Twenty-One 1.0
    2121         */
    2222        public function __construct() {
    2323
     
    3838         *
    3939         * @param string $background_color The background color.
    4040         *
    41          * @since 1.0.0
     41         * @since Twenty Twenty-One 1.0
    4242         *
    4343         * @return string (hex color)
    4444         */
     
    5555         *
    5656         * @access public
    5757         *
    58          * @since 1.0.0
     58         * @since Twenty Twenty-One 1.0
    5959         *
    6060         * @param string|null $context Can be "editor" or null.
    6161         *
     
    8989         *
    9090         * @access public
    9191         *
    92          * @since 1.0.0
     92         * @since Twenty Twenty-One 1.0
    9393         *
    9494         * @return void
    9595         */
     
    104104         *
    105105         * @access public
    106106         *
    107          * @since 1.0.0
     107         * @since Twenty Twenty-One 1.0
    108108         *
    109109         * @return void
    110110         */
     
    129129         *
    130130         * @access public
    131131         *
    132          * @since 1.0.0
     132         * @since Twenty Twenty-One 1.0
    133133         *
    134134         * @param string $hex The HEX color.
    135135         *
     
    160160         *
    161161         * @access public
    162162         *
    163          * @since 1.0.0
     163         * @since Twenty Twenty-One 1.0
    164164         *
    165165         * @param array $classes The existing body classes.
    166166         *
  • src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize-color-control.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010/**
    1111 * Customize Color Control class.
    1212 *
    13  * @since 1.0.0
     13 * @since Twenty Twenty-One 1.0
    1414 *
    1515 * @see WP_Customize_Control
    1616 */
     
    1818        /**
    1919         * The control type.
    2020         *
    21          * @since 1.0.0
     21         * @since Twenty Twenty-One 1.0
    2222         *
    2323         * @var string
    2424         */
     
    2929         *
    3030         * @access public
    3131         *
    32          * @since 1.0.0
     32         * @since Twenty Twenty-One 1.0
    3333         *
    3434         * @var array
    3535         */
     
    4040         *
    4141         * @access public
    4242         *
    43          * @since 1.0.0
     43         * @since Twenty Twenty-One 1.0
    4444         *
    4545         * @return void
    4646         */
     
    6262         *
    6363         * @access public
    6464         *
    65          * @since 1.0.0
     65         * @since Twenty Twenty-One 1.0
    6666         *
    6767         * @uses WP_Customize_Control::to_json()
    6868         *
  • src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize-notice-control.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010/**
    1111 * Customize Notice Control class.
    1212 *
    13  * @since 1.0.0
     13 * @since Twenty Twenty-One 1.0
    1414 *
    1515 * @see WP_Customize_Control
    1616 */
     
    1818        /**
    1919         * The control type.
    2020         *
    21          * @since 1.0.0
     21         * @since Twenty Twenty-One 1.0
    2222         *
    2323         * @var string
    2424         */
     
    3131         *
    3232         * @access public
    3333         *
    34          * @since 1.0.0
     34         * @since Twenty Twenty-One 1.0
    3535         *
    3636         * @return void
    3737         */
  • src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010if ( ! class_exists( 'Twenty_Twenty_One_Customize' ) ) {
     
    1111        /**
    1212         * Customizer Settings.
    1313         *
    14          * @since 1.0.0
     14         * @since Twenty Twenty-One 1.0
    1515         */
    1616        class Twenty_Twenty_One_Customize {
    1717
     
    2020                 *
    2121                 * @access public
    2222                 *
    23                  * @since 1.0.0
     23                 * @since Twenty Twenty-One 1.0
    2424                 */
    2525                public function __construct() {
    2626                        add_action( 'customize_register', array( $this, 'register' ) );
     
    3131                 *
    3232                 * @access public
    3333                 *
    34                  * @since 1.0.0
     34                 * @since Twenty Twenty-One 1.0
    3535                 *
    3636                 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
    3737                 *
     
    153153                 *
    154154                 * @access public
    155155                 *
    156                  * @since 1.0.0
     156                 * @since Twenty Twenty-One 1.0
    157157                 *
    158158                 * @param bool $checked Whether or not a box is checked.
    159159                 *
     
    168168                 *
    169169                 * @access public
    170170                 *
    171                  * @since 1.0.0
     171                 * @since Twenty Twenty-One 1.0
    172172                 *
    173173                 * @return void
    174174                 */
     
    181181                 *
    182182                 * @access public
    183183                 *
    184                  * @since 1.0.0
     184                 * @since Twenty Twenty-One 1.0
    185185                 *
    186186                 * @return void
    187187                 */
  • src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010/**
     
    1717         *
    1818         * @access public
    1919         *
    20          * @since 1.0.0
     20         * @since Twenty Twenty-One 1.0
    2121         */
    2222        public function __construct() {
    2323
     
    5151         *
    5252         * @access public
    5353         *
    54          * @since 1.0.0
     54         * @since Twenty Twenty-One 1.0
    5555         *
    5656         * @return void
    5757         */
     
    9090         *
    9191         * @access public
    9292         *
    93          * @since 1.0.0
     93         * @since Twenty Twenty-One 1.0
    9494         *
    9595         * @return void
    9696         */
     
    110110         *
    111111         * @access public
    112112         *
    113          * @since 1.0.0
     113         * @since Twenty Twenty-One 1.0
    114114         *
    115115         * @return void
    116116         */
     
    132132         *
    133133         * @access public
    134134         *
    135          * @since 1.0.0
     135         * @since Twenty Twenty-One 1.0
    136136         *
    137137         * @param WP_Customize_Manager $wp_customize Theme Customizer object.
    138138         *
     
    224224         *
    225225         * @access public
    226226         *
    227          * @since 1.0.0
     227         * @since Twenty Twenty-One 1.0
    228228         *
    229229         * @param string $classes The classes for <html> element.
    230230         *
     
    249249         *
    250250         * @access public
    251251         *
    252          * @since 1.0.0
     252         * @since Twenty Twenty-One 1.0
    253253         *
    254254         * @param string $classes The admin body-classes.
    255255         *
     
    282282         *
    283283         * @access public
    284284         *
    285          * @since 1.0.0
     285         * @since Twenty Twenty-One 1.0
    286286         *
    287287         * @return bool
    288288         */
     
    300300         *
    301301         * @access public
    302302         *
    303          * @since 1.0.0
     303         * @since Twenty Twenty-One 1.0
    304304         *
    305305         * @return void
    306306         */
     
    319319         *
    320320         * @access public
    321321         *
    322          * @since 1.0.0
     322         * @since Twenty Twenty-One 1.0
    323323         *
    324324         * @param array $attrs The attributes to add to our <button> element.
    325325         *
     
    380380         *
    381381         * @access public
    382382         *
    383          * @since 1.0.0
     383         * @since Twenty Twenty-One 1.0
    384384         *
    385385         * @return void
    386386         */
     
    395395         *
    396396         * @access public
    397397         *
    398          * @since 1.0.0
     398         * @since Twenty Twenty-One 1.0
    399399         *
    400400         * @return void
    401401         */
  • src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-svg-icons.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010/**
     
    1717 * All icons are assumed to have equal width and height, hence the option
    1818 * to only specify a `$size` parameter in the svg methods.
    1919 *
    20  * @since 1.0.0
     20 * @since Twenty Twenty-One 1.0
    2121 */
    2222class Twenty_Twenty_One_SVG_Icons {
    2323
     
    2626         *
    2727         * @access protected
    2828         *
    29          * @since 1.0.0
     29         * @since Twenty Twenty-One 1.0
    3030         *
    3131         * @var array
    3232         */
     
    4444         *
    4545         * @access protected
    4646         *
    47          * @since 1.0.0
     47         * @since Twenty Twenty-One 1.0
    4848         *
    4949         * @var array
    5050         */
     
    9595         * By default, each Icon ID is matched against a .com TLD. To override this behavior,
    9696         * specify all the domains it covers (including the .com TLD too, if applicable).
    9797         *
    98          * @since 1.0.0
     98         * @since Twenty Twenty-One 1.0
    9999         *
    100100         * @var array
    101101         */
     
    150150         *
    151151         * @access public
    152152         *
    153          * @since 1.0.0
     153         * @since Twenty Twenty-One 1.0
    154154         *
    155155         * @param string $group the icon group.
    156156         * @param string $icon The icon.
     
    174174                 * The dynamic portion of the hook name, `$group`, refers to
    175175                 * the name of the group of icons, either "ui" or "social".
    176176                 *
    177                  * @since 1.0.0
     177                 * @since Twenty Twenty-One 1.0
    178178                 *
    179179                 * @param array $arr Array of icons.
    180180                 */
     
    198198         *
    199199         * @access public
    200200         *
    201          * @since 1.0.0
     201         * @since Twenty Twenty-One 1.0
    202202         *
    203203         * @param string $uri Social link.
    204204         * @param int    $size The icon-size in pixels.
     
    217217                         * By default, each Icon ID is matched against a .com TLD. To override this behavior,
    218218                         * specify all the domains it covers (including the .com TLD too, if applicable).
    219219                         *
    220                          * @since 1.0.0
     220                         * @since Twenty Twenty-One 1.0
    221221                         *
    222222                         * @param array $social_icons_map Array of default social icons.
    223223                         */
     
    226226                        /**
    227227                         * Filters Twenty Twenty-One's array of social icons.
    228228                         *
    229                          * @since 1.0.0
     229                         * @since Twenty Twenty-One 1.0
    230230                         *
    231231                         * @param array $social_icons Array of default social icons.
    232232                         */
  • src/wp-content/themes/twentytwentyone/comments.php

     
    99 *
    1010 * @package WordPress
    1111 * @subpackage Twenty_Twenty_One
    12  * @since 1.0.0
     12 * @since Twenty Twenty-One 1.0
    1313 */
    1414
    1515/*
  • src/wp-content/themes/twentytwentyone/footer.php

     
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Twenty_One
    11  * @since 1.0.0
     11 * @since Twenty Twenty-One 1.0
    1212 */
    1313
    1414?>
  • src/wp-content/themes/twentytwentyone/functions.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212// This theme requires WordPress 5.3 or later.
     
    2222         * runs before the init hook. The init hook is too late for some features, such
    2323         * as indicating support for post thumbnails.
    2424         *
    25          * @since 1.0.0
     25         * @since Twenty Twenty-One 1.0
    2626         *
    2727         * @return void
    2828         */
     
    345345/**
    346346 * Register widget area.
    347347 *
    348  * @since 1.0.0
     348 * @since Twenty Twenty-One 1.0
    349349 *
    350350 * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
    351351 *
     
    372372 *
    373373 * Priority 0 to make it available to lower priority callbacks.
    374374 *
    375  * @since 1.0.0
     375 * @since Twenty Twenty-One 1.0
    376376 *
    377377 * @global int $content_width Content width.
    378378 *
     
    389389/**
    390390 * Enqueue scripts and styles.
    391391 *
    392  * @since 1.0.0
     392 * @since Twenty Twenty-One 1.0
    393393 *
    394394 * @return void
    395395 */
     
    449449/**
    450450 * Enqueue block editor script.
    451451 *
    452  * @since 1.0.0
     452 * @since Twenty Twenty-One 1.0
    453453 *
    454454 * @return void
    455455 */
     
    488488
    489489/** Enqueue non-latin language styles
    490490 *
    491  * @since 1.0.0
     491 * @since Twenty Twenty-One 1.0
    492492 *
    493493 * @return void
    494494 */
     
    534534/**
    535535 * Enqueue scripts for the customizer preview.
    536536 *
    537  * @since 1.0.0
     537 * @since Twenty Twenty-One 1.0
    538538 *
    539539 * @return void
    540540 */
     
    560560/**
    561561 * Enqueue scripts for the customizer.
    562562 *
    563  * @since 1.0.0
     563 * @since Twenty Twenty-One 1.0
    564564 *
    565565 * @return void
    566566 */
     
    579579/**
    580580 * Calculate classes for the main <html> element.
    581581 *
    582  * @since 1.0.0
     582 * @since Twenty Twenty-One 1.0
    583583 *
    584584 * @return void
    585585 */
     
    594594/**
    595595 * Add "is-IE" class to body if the user is on Internet Explorer.
    596596 *
    597  * @since 1.0.0
     597 * @since Twenty Twenty-One 1.0
    598598 *
    599599 * @return void
    600600 */
  • src/wp-content/themes/twentytwentyone/header.php

     
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Twenty_One
    11  * @since 1.0.0
     11 * @since Twenty Twenty-One 1.0
    1212 */
    1313
    1414?>
  • src/wp-content/themes/twentytwentyone/image.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010get_header();
  • src/wp-content/themes/twentytwentyone/inc/back-compat.php

     
    88 *
    99 * @package WordPress
    1010 * @subpackage Twenty_Twenty_One
    11  * @since 1.0.0
     11 * @since Twenty Twenty-One 1.0
    1212 */
    1313
    1414/**
    1515 * Display upgrade notice on theme switch.
    1616 *
    17  * @since 1.0.0
     17 * @since Twenty Twenty-One 1.0
    1818 *
    1919 * @return void
    2020 */
     
    2929 * Prints an update nag after an unsuccessful attempt to switch to
    3030 * the theme on WordPress versions prior to 5.3.
    3131 *
    32  * @since 1.0.0
     32 * @since Twenty Twenty-One 1.0
    3333 *
    3434 * @global string $wp_version WordPress version.
    3535 *
     
    4848/**
    4949 * Prevents the Customizer from being loaded on WordPress versions prior to 5.3.
    5050 *
    51  * @since 1.0.0
     51 * @since Twenty Twenty-One 1.0
    5252 *
    5353 * @global string $wp_version WordPress version.
    5454 *
     
    7272/**
    7373 * Prevents the Theme Preview from being loaded on WordPress versions prior to 5.3.
    7474 *
    75  * @since 1.0.0
     75 * @since Twenty Twenty-One 1.0
    7676 *
    7777 * @global string $wp_version WordPress version.
    7878 *
  • src/wp-content/themes/twentytwentyone/inc/block-patterns.php

     
    77 *
    88 * @package WordPress
    99 * @subpackage Twenty_Twenty_One
    10  * @since 1.0.0
     10 * @since Twenty Twenty-One 1.0
    1111 */
    1212
    1313/**
  • src/wp-content/themes/twentytwentyone/inc/block-styles.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212if ( function_exists( 'register_block_style' ) ) {
     
    1313        /**
    1414         * Register block styles.
    1515         *
    16          * @since 1.0.0
     16         * @since Twenty Twenty-One 1.0
    1717         *
    1818         * @return void
    1919         */
  • src/wp-content/themes/twentytwentyone/inc/custom-css.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010/**
    1111 * Generate CSS.
    1212 *
    13  * @since 1.0.0
     13 * @since Twenty Twenty-One 1.0
    1414 *
    1515 * @param string $selector The CSS selector.
    1616 * @param string $style The CSS style.
  • src/wp-content/themes/twentytwentyone/inc/menu-functions.php

     
    99 *
    1010 * @package WordPress
    1111 * @subpackage Twenty_Twenty_One
    12  * @since 1.0.0
     12 * @since Twenty Twenty-One 1.0
    1313 */
    1414
    1515/**
     
    1616 * Add a button to top-level menu items that has sub-menus.
    1717 * An icon is added using CSS depending on the value of aria-expanded.
    1818 *
    19  * @since 1.0.0
     19 * @since Twenty Twenty-One 1.0
    2020 *
    2121 * @param string $output Nav menu item start element.
    2222 * @param object $item   Nav menu item.
     
    4242/**
    4343 * Detects the social network from a URL and returns the SVG code for its icon.
    4444 *
    45  * @since 1.0.0
     45 * @since Twenty Twenty-One 1.0
    4646 *
    4747 * @param string $uri Social link.
    4848 * @param int    $size The icon size in pixels.
     
    7979/**
    8080 * Filters the arguments for a single nav menu item.
    8181 *
    82  * @since 1.0.0
     82 * @since Twenty Twenty-One 1.0
    8383 *
    8484 * @param stdClass $args  An object of wp_nav_menu() arguments.
    8585 * @param WP_Post  $item  Menu item data object.
  • src/wp-content/themes/twentytwentyone/inc/starter-content.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212/**
     
    1414 *
    1515 * Passes it through the `twentytwenty_starter_content` filter before returning.
    1616 *
    17  * @since 1.0.0
     17 * @since Twenty Twenty-One 1.0
    1818 *
    1919 * @return array A filtered array of args for the starter_content.
    2020 */
     
    176176        /**
    177177         * Filters the array of starter content.
    178178         *
    179          * @since 1.0.0
     179         * @since Twenty Twenty-One 1.0
    180180         *
    181181         * @param array $starter_content Array of starter content.
    182182         */
  • src/wp-content/themes/twentytwentyone/inc/template-functions.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010/**
    1111 * Adds custom classes to the array of body classes.
    1212 *
    13  * @since 1.0.0
     13 * @since Twenty Twenty-One 1.0
    1414 *
    1515 * @param array $classes Classes for the body element.
    1616 *
     
    4141/**
    4242 * Adds custom class to the array of posts classes.
    4343 *
    44  * @since 1.0.0
     44 * @since Twenty Twenty-One 1.0
    4545 *
    4646 * @param array $classes An array of CSS classes.
    4747 *
     
    5757/**
    5858 * Add a pingback url auto-discovery header for single posts, pages, or attachments.
    5959 *
    60  * @since 1.0.0
     60 * @since Twenty Twenty-One 1.0
    6161 *
    6262 * @return void
    6363 */
     
    7171/**
    7272 * Remove the `no-js` class from body if JS is supported.
    7373 *
    74  * @since 1.0.0
     74 * @since Twenty Twenty-One 1.0
    7575 *
    7676 * @return void
    7777 */
     
    8383/**
    8484 * Changes comment form default fields.
    8585 *
    86  * @since 1.0.0
     86 * @since Twenty Twenty-One 1.0
    8787 *
    8888 * @param array $defaults The form defaults.
    8989 *
     
    101101/**
    102102 * Determines if post thumbnail can be displayed.
    103103 *
    104  * @since 1.0.0
     104 * @since Twenty Twenty-One 1.0
    105105 *
    106106 * @return bool
    107107 */
     
    115115/**
    116116 * Returns the size for avatars used in the theme.
    117117 *
    118  * @since 1.0.0
     118 * @since Twenty Twenty-One 1.0
    119119 *
    120120 * @return int
    121121 */
     
    164164        /**
    165165         * Add a title to posts and pages that are missing titles.
    166166         *
    167          * @since 1.0.0
     167         * @since Twenty Twenty-One 1.0
    168168         *
    169169         * @param string $title The title.
    170170         *
     
    179179/**
    180180 * Gets the SVG code for a given icon.
    181181 *
    182  * @since 1.0.0
     182 * @since Twenty Twenty-One 1.0
    183183 *
    184184 * @param string $group The icon group.
    185185 * @param string $icon The icon.
     
    323323/**
    324324 * Print the first instance of a block in the content, and then break away.
    325325 *
    326  * @since 1.0.0
     326 * @since Twenty Twenty-One 1.0
    327327 *
    328328 * @param string      $block_name The full block type name, or a partial match.
    329329 *                                Example: `core/image`, `core-embed/*`.
     
    386386/**
    387387 * Retrieve protected post password form content.
    388388 *
    389  * @since 1.0.0
     389 * @since Twenty Twenty-One 1.0
    390390 *
    391391 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global $post.
    392392 * @return string HTML content for password form for password protected post.
     
    405405/**
    406406 * Filters the list of attachment image attributes.
    407407 *
    408  * @since 1.0.0
     408 * @since Twenty Twenty-One 1.0
    409409 *
    410410 * @param array        $attr       Array of attribute values for the image markup, keyed by attribute name.
    411411 *                                 See wp_get_attachment_image().
  • src/wp-content/themes/twentytwentyone/inc/template-tags.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010if ( ! function_exists( 'twenty_twenty_one_posted_on' ) ) {
     
    1111        /**
    1212         * Prints HTML with meta information for the current post-date/time.
    1313         *
    14          * @since 1.0.0
     14         * @since Twenty Twenty-One 1.0
    1515         *
    1616         * @return void
    1717         */
     
    3737        /**
    3838         * Prints HTML with meta information about theme author.
    3939         *
    40          * @since 1.0.0
     40         * @since Twenty Twenty-One 1.0
    4141         *
    4242         * @return void
    4343         */
     
    5959         * Prints HTML with meta information for the categories, tags and comments.
    6060         * Footer entry meta is displayed differently in archives and single posts.
    6161         *
    62          * @since 1.0.0
     62         * @since Twenty Twenty-One 1.0
    6363         *
    6464         * @return void
    6565         */
     
    176176         * Wraps the post thumbnail in an anchor element on index views, or a div
    177177         * element when on single views.
    178178         *
    179          * @since 1.0.0
     179         * @since Twenty Twenty-One 1.0
    180180         *
    181181         * @return void
    182182         */
     
    218218        /**
    219219         * Print the next and previous posts navigation.
    220220         *
    221          * @since 1.0.0
     221         * @since Twenty Twenty-One 1.0
    222222         *
    223223         * @return void
    224224         */
  • src/wp-content/themes/twentytwentyone/index.php

     
    1111 *
    1212 * @package WordPress
    1313 * @subpackage Twenty_Twenty_One
    14  * @since 1.0.0
     14 * @since Twenty Twenty-One 1.0
    1515 */
    1616
    1717get_header();
  • src/wp-content/themes/twentytwentyone/page.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212get_header();
  • src/wp-content/themes/twentytwentyone/search.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212get_header();
  • src/wp-content/themes/twentytwentyone/searchform.php

     
    99 *
    1010 * @package WordPress
    1111 * @subpackage Twenty_Twenty_One
    12  * @since 1.0.0
     12 * @since Twenty Twenty-One 1.0
    1313 */
    1414
    1515/*
  • src/wp-content/themes/twentytwentyone/single.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212get_header();
  • src/wp-content/themes/twentytwentyone/template-parts/content/content-excerpt.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212?>
  • src/wp-content/themes/twentytwentyone/template-parts/content/content-none.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212?>
  • src/wp-content/themes/twentytwentyone/template-parts/content/content-page.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212?>
  • src/wp-content/themes/twentytwentyone/template-parts/content/content-single.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212?>
  • src/wp-content/themes/twentytwentyone/template-parts/content/content.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212?>
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-aside.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212// Print the full content.
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-audio.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212$content = get_the_content();
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-chat.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212// If there are paragraph blocks, print up to two.
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-gallery.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212// Print the 1st gallery found.
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-image.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212// If there is no featured-image, print the first image block found.
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-link.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212// Print the 1st instance of a paragraph block. If none is found, print the content.
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-quote.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212$content = get_the_content();
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-status.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212// Print the full content.
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt-video.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212$content = get_the_content();
  • src/wp-content/themes/twentytwentyone/template-parts/excerpt/excerpt.php

     
    66 *
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    9  * @since 1.0.0
     9 * @since Twenty Twenty-One 1.0
    1010 */
    1111
    1212the_excerpt();
  • src/wp-content/themes/twentytwentyone/template-parts/footer/footer-widgets.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
  • src/wp-content/themes/twentytwentyone/template-parts/header/entry-header.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010the_title( '<h1 class="entry-title">', '</h1>' );
  • src/wp-content/themes/twentytwentyone/template-parts/header/excerpt-header.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010// Don't show the title if the post-format is `aside` or `status`.
  • src/wp-content/themes/twentytwentyone/template-parts/header/site-branding.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010$blog_info    = get_bloginfo( 'name' );
  • src/wp-content/themes/twentytwentyone/template-parts/header/site-header.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010$wrapper_classes  = 'site-header';
  • src/wp-content/themes/twentytwentyone/template-parts/header/site-nav.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010?>
  • src/wp-content/themes/twentytwentyone/template-parts/post/author-bio.php

     
    44 *
    55 * @package WordPress
    66 * @subpackage Twenty_Twenty_One
    7  * @since 1.0.0
     7 * @since Twenty Twenty-One 1.0
    88 */
    99
    1010?>