WordPress.org

Making WordPress.org

Ticket #4843: 4843.diff

File 4843.diff, 1.0 KB (added by dingo_d, 2 years ago)
  • wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
    index 921c899ab..88af04ecd 100644
    function wporg_themes_scripts() { 
    106106                wp_enqueue_script( 'wporg-theme', get_template_directory_uri() . "/js/theme{$suffix}.js", array( 'wp-backbone' ), '20191030', true );
    107107
    108108                // Use the Rosetta-specific site name. Ie. "WordPress.org $LOCALE"
    109                 $title_suffix = isset( $GLOBALS['wporg_global_header_options']['rosetta_title'] ) ? $GLOBALS['wporg_global_header_options']['rosetta_title'] : 'WordPess.org';
     109                $title_suffix = isset( $GLOBALS['wporg_global_header_options']['rosetta_title'] ) ? $GLOBALS['wporg_global_header_options']['rosetta_title'] : 'WordPress.org';
    110110
    111111                wp_localize_script( 'wporg-theme', '_wpThemeSettings', array(
    112112                        'themes'   => false,