Changeset 7897 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
- Timestamp:
- 11/26/2018 03:59:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
r7627 r7897 89 89 if ( is_page( 'stats' ) ) { 90 90 wp_enqueue_script( 'google-charts', 'https://www.gstatic.com/charts/loader.js', [], null, true ); 91 wp_enqueue_script( 'wporg-page-stats', get_theme_file_uri( '/js/page-stats.js' ), [ 'jquery', 'google-charts' ], 1, true );91 wp_enqueue_script( 'wporg-page-stats', get_theme_file_uri( '/js/page-stats.js' ), [ 'jquery', 'google-charts' ], 2, true ); 92 92 wp_localize_script( 'wporg-page-stats', 'wporgPageStats', [ 93 93 'trunk' => number_format( WP_CORE_STABLE_BRANCH + 0.1, 1 ), /* trunk */ 94 'beta' => number_format( WP_CORE_STABLE_BRANCH + 0.2, 1 ), /* trunk w/ beta-tester plugin */95 94 'wpVersions' => __( 'WordPress Version', 'wporg' ), 96 95 'phpVersions' => __( 'PHP Versions', 'wporg' ),
Note: See TracChangeset
for help on using the changeset viewer.