Making WordPress.org


Ignore:
Timestamp:
03/26/2020 05:16:17 AM (5 years ago)
Author:
dd32
Message:

Theme Directory: Link to / rather than /browse/popular/ for the default view, and use the homepage title text instead.

Fixes #4681.

File:
1 edited

Legend:

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

    r9631 r9637  
    110110    if ( ! is_singular( 'page' ) ) {
    111111        wp_enqueue_script( 'google-charts-loader', 'https://www.gstatic.com/charts/loader.js', array(), null, true );
    112         wp_enqueue_script( 'wporg-theme', get_template_directory_uri() . "/js/theme{$suffix}.js", array( 'wp-backbone' ), '20200221', true );
     112        wp_enqueue_script( 'wporg-theme', get_template_directory_uri() . "/js/theme{$suffix}.js", array( 'wp-backbone' ), '20200226', true );
    113113
    114114        // Use the Rosetta-specific site name. Ie. "WordPress.org $LOCALE"
     
    121121                'title'        => array(
    122122                    'default'  => "%s | ${title_suffix}",
     123                    'home'     => __( 'WordPress Themes', 'wporg-themes' ) . " | ${title_suffix}",
    123124                    'theme'    => '%s - ' . __( 'WordPress theme', 'wporg-themes' ) . " | ${title_suffix}",
    124125                    /* translators: %s: theme author name */
Note: See TracChangeset for help on using the changeset viewer.