Making WordPress.org


Ignore:
Timestamp:
03/29/2017 01:15:52 AM (9 years ago)
Author:
dd32
Message:

Plugin Directory: Remove &width=100 on screenshot thumbnails to prevent loading the image twice.

File:
1 edited

Legend:

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

    r5188 r5190  
    9494        // React is currently only used on detail pages
    9595        if ( is_single() ) {
    96                 wp_enqueue_script( 'wporg-plugins-client', get_template_directory_uri() . '/js/theme.js', array(), false, true );
     96                wp_enqueue_script( 'wporg-plugins-client', get_template_directory_uri() . '/js/theme.js', array(), '20170329', true );
    9797                wp_localize_script( 'wporg-plugins-client', 'pluginDirectory', array(
    9898                        'endpoint' => untrailingslashit( rest_url() ), // 'https://wordpress.org/plugins-wp/wp-json',
Note: See TracChangeset for help on using the changeset viewer.