WordPress.org

Making WordPress.org


Ignore:
Timestamp:
11/16/2017 12:15:35 AM (8 months ago)
Author:
SergeyBiryukov
Message:

Plugin Directory: Don't display the locale banner for closed plugins.

See #2627.

File:
1 edited

Legend:

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

    r6033 r6128  
    7070
    7171    if ( ! is_404() ) {
    72         wp_enqueue_script( 'wporg-plugins-locale-banner', get_template_directory_uri() . '/js/locale-banner.js', array(), '20160622', true );
     72        wp_enqueue_script( 'wporg-plugins-locale-banner', get_template_directory_uri() . '/js/locale-banner.js', array(), '20171116', true );
    7373        wp_localize_script( 'wporg-plugins-locale-banner', 'wporgLocaleBanner', array(
    7474            'apiURL'        => rest_url( '/plugins/v1/locale-banner' ),
Note: See TracChangeset for help on using the changeset viewer.