Making WordPress.org


Ignore:
Timestamp:
04/20/2017 04:02:31 PM (7 years ago)
Author:
ocean90
Message:

Plugin Directory: Bump script versions for cache bust.

File:
1 edited

Legend:

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

    r5349 r5398  
    5858function scripts() {
    5959    $suffix = is_rtl() ? '-rtl' : '';
    60     wp_enqueue_style( 'wporg-plugins-style', get_template_directory_uri() . "/css/style{$suffix}.css", array(), '20170407a' );
     60    wp_enqueue_style( 'wporg-plugins-style', get_template_directory_uri() . "/css/style{$suffix}.css", array(), '20170420' );
    6161
    6262    wp_enqueue_script( 'wporg-plugins-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
     
    9696    // React is currently only used on detail pages
    9797    if ( is_single() ) {
    98         wp_enqueue_script( 'wporg-plugins-client', get_template_directory_uri() . '/js/theme.js', array(), '20170329a', true );
     98        wp_enqueue_script( 'wporg-plugins-client', get_template_directory_uri() . '/js/theme.js', array(), '20170420', true );
    9999        wp_localize_script( 'wporg-plugins-client', 'pluginDirectory', array(
    100100            'endpoint' => untrailingslashit( rest_url() ), // 'https://wordpress.org/plugins-wp/wp-json',
Note: See TracChangeset for help on using the changeset viewer.