Changeset 5398 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
- Timestamp:
- 04/20/2017 04:02:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r5349 r5398 58 58 function scripts() { 59 59 $suffix = is_rtl() ? '-rtl' : ''; 60 wp_enqueue_style( 'wporg-plugins-style', get_template_directory_uri() . "/css/style{$suffix}.css", array(), '201704 07a' );60 wp_enqueue_style( 'wporg-plugins-style', get_template_directory_uri() . "/css/style{$suffix}.css", array(), '20170420' ); 61 61 62 62 wp_enqueue_script( 'wporg-plugins-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true ); … … 96 96 // React is currently only used on detail pages 97 97 if ( is_single() ) { 98 wp_enqueue_script( 'wporg-plugins-client', get_template_directory_uri() . '/js/theme.js', array(), '20170 329a', true );98 wp_enqueue_script( 'wporg-plugins-client', get_template_directory_uri() . '/js/theme.js', array(), '20170420', true ); 99 99 wp_localize_script( 'wporg-plugins-client', 'pluginDirectory', array( 100 100 'endpoint' => untrailingslashit( rest_url() ), // 'https://wordpress.org/plugins-wp/wp-json',
Note: See TracChangeset
for help on using the changeset viewer.