Making WordPress.org


Ignore:
Timestamp:
05/27/2019 08:34:59 AM (6 years ago)
Author:
tellyworth
Message:

Plugin directory theme: revert [8881-8880]

The Support link is handled inconsistently and needs further thought.

See #2776

File:
1 edited

Legend:

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

    r8881 r8882  
    7171 */
    7272function scripts() {
    73     wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20190510b' );
     73    wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], '20190510a' );
    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 );
    8887    }
    8988
     
    117116    // React is currently only used on detail pages.
    118117    if ( is_single() ) {
    119         wp_enqueue_script( 'wporg-plugins-client', get_stylesheet_directory_uri() . '/js/theme.js', array(), '20190527', true );
     118        wp_enqueue_script( 'wporg-plugins-client', get_stylesheet_directory_uri() . '/js/theme.js', array(), '20180110', true );
    120119        wp_localize_script( 'wporg-plugins-client', 'pluginDirectory', array(
    121120            'endpoint' => untrailingslashit( rest_url() ), // 'https://wordpress.org/plugins-wp/wp-json',
Note: See TracChangeset for help on using the changeset viewer.