Making WordPress.org


Ignore:
Timestamp:
02/25/2021 04:12:17 AM (6 years ago)
Author:
dd32
Message:

Theme Directory: This theme should never be expected to have a child-theme (but may itself be a child theme).

File:
1 edited

Legend:

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

    r10457 r10713  
    111111        if ( ! is_singular( 'page' ) ) {
    112112                wp_enqueue_script( 'google-charts-loader', 'https://www.gstatic.com/charts/loader.js', array(), null, true );
    113                 wp_enqueue_script( 'wporg-theme', get_template_directory_uri() . "/js/theme{$suffix}.js", array( 'wp-backbone' ), '20201118', true );
     113                wp_enqueue_script( 'wporg-theme', get_stylesheet_directory_uri() . "/js/theme{$suffix}.js", array( 'wp-backbone' ), '20201118', true );
    114114
    115115                // Use the Rosetta-specific site name. Ie. "WordPress.org $LOCALE"
Note: See TracChangeset for help on using the changeset viewer.