Changeset 9328 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
- Timestamp:
- 12/11/2019 07:47:00 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
r9250 r9328 78 78 $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 79 79 80 wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20191 102b' );80 wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20191211' ); 81 81 wp_style_add_data( 'wporg-style', 'rtl', 'replace' ); 82 82 … … 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' ], 2, true );91 wp_enqueue_script( 'wporg-page-stats', get_theme_file_uri( '/js/page-stats.js' ), [ 'jquery', 'google-charts' ], 3, true ); 92 92 wp_localize_script( 'wporg-page-stats', 'wporgPageStats', [ 93 93 'trunk' => number_format( WP_CORE_STABLE_BRANCH + 0.1, 1 ), /* trunk */ 94 'wpVersions' => __( 'WordPress Version', 'wporg' ),95 'phpVersions' => __( 'PHP Versions', 'wporg' ),96 'mysqlVersions' => __( 'MySQL Version', 'wporg' ),97 'locales' => __( 'Locales', 'wporg' ),98 94 ] ); 99 95 }
Note: See TracChangeset
for help on using the changeset viewer.