Making WordPress.org

Changeset 13662


Ignore:
Timestamp:
05/06/2024 03:38:13 AM (14 months ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@f141b06

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php

    r13656 r13662  
    22
    33namespace WordPressdotorg\Theme\Learn_2024;
     4
     5/**
     6 * Admin.
     7 */
     8require __DIR__ . '/inc/admin.php';
     9
     10/**
     11 * Capabilities.
     12 */
     13require __DIR__ . '/inc/capabilities.php';
     14
     15/**
     16 * Taxonomies.
     17 */
     18require __DIR__ . '/inc/taxonomy.php';
    419
    520/**
     
    2237        filemtime( __DIR__ . '/build/style/style-index.css' )
    2338    );
     39
     40    // Preload the heading font(s).
     41    if ( is_callable( 'global_fonts_preload' ) ) {
     42        /* translators: Subsets can be any of cyrillic, cyrillic-ext, greek, greek-ext, vietnamese, latin, latin-ext. */
     43        $subsets = _x( 'Latin', 'Heading font subsets, comma separated', 'wporg-learn' );
     44        // All headings.
     45        global_fonts_preload( 'EB Garamond, Inter', $subsets );
     46    }
    2447}
    2548
     
    3255            array(
    3356                'label' => __( 'User', 'wporg-learn' ),
    34                 'url' => '/learning-pathways/user/',
     57                'url'   => '/learning-pathways/user/',
    3558            ),
    3659            array(
    3760                'label' => __( 'Designer', 'wporg-learn' ),
    38                 'url' => '/learning-pathways/designer/',
     61                'url'   => '/learning-pathways/designer/',
    3962            ),
    4063            array(
    4164                'label' => __( 'Contributor', 'wporg-learn' ),
    42                 'url' => '/learning-pathways/contributor/',
     65                'url'   => '/learning-pathways/contributor/',
    4366            ),
    4467            array(
    4568                'label' => __( 'Developer', 'wporg-learn' ),
    46                 'url' => '/learning-pathways/developer/',
     69                'url'   => '/learning-pathways/developer/',
    4770            ),
    4871        ),
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css

    r13660 r13662  
    55 * Author URI: http://wordpress.org/
    66 * Description: A theme for learn.wordpress.org, built in 2024.
    7  * Version: 1.0.0-8ace1ca
     7 * Version: 1.0.0-bd61738
    88 * License: GNU General Public License v2 or later
    99 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.