Making WordPress.org

Changeset 8881


Ignore:
Timestamp:
05/27/2019 04:50:42 AM (5 years ago)
Author:
tellyworth
Message:

Plugin directory theme: bust cache for [8880]

Props ck3lee
Fixes #2776

File:
1 edited

Legend:

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

    r8772 r8881  
    7171 */
    7272function scripts() {
    73     wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20190510a' );
     73    wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20190510b' );
    7474    wp_style_add_data( 'wporg-style', 'rtl', 'replace' );
    7575
     
    8585        wp_enqueue_script( 'wporg-plugins-popover', get_stylesheet_directory_uri() . '/js/popover.js', array( 'jquery' ), '20171002', true );
    8686        wp_enqueue_script( 'wporg-plugins-faq', get_stylesheet_directory_uri() . '/js/section-faq.js', array( 'jquery' ), '20180131', true );
     87        wp_enqueue_script( 'wporg-plugins-tabs', get_stylesheet_directory_uri() . '/js/tabs.js', array(), '20190527', true );
    8788    }
    8889
     
    116117    // React is currently only used on detail pages.
    117118    if ( is_single() ) {
    118         wp_enqueue_script( 'wporg-plugins-client', get_stylesheet_directory_uri() . '/js/theme.js', array(), '20180110', true );
     119        wp_enqueue_script( 'wporg-plugins-client', get_stylesheet_directory_uri() . '/js/theme.js', array(), '20190527', true );
    119120        wp_localize_script( 'wporg-plugins-client', 'pluginDirectory', array(
    120121            'endpoint' => untrailingslashit( rest_url() ), // 'https://wordpress.org/plugins-wp/wp-json',
Note: See TracChangeset for help on using the changeset viewer.