Changeset 6128
- Timestamp:
- 11/16/2017 12:15:35 AM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r6033 r6128 70 70 71 71 if ( ! is_404() ) { 72 wp_enqueue_script( 'wporg-plugins-locale-banner', get_template_directory_uri() . '/js/locale-banner.js', array(), '201 60622', true );72 wp_enqueue_script( 'wporg-plugins-locale-banner', get_template_directory_uri() . '/js/locale-banner.js', array(), '20171116', true ); 73 73 wp_localize_script( 'wporg-plugins-locale-banner', 'wporgLocaleBanner', array( 74 74 'apiURL' => rest_url( '/plugins/v1/locale-banner' ), -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/locale-banner.js
r4223 r6128 1 1 /* global wporgLocaleBanner */ 2 2 ( function( $ ) { 3 4 if ( $( 'body' ).hasClass( 'single-plugin' ) && ! $( 'article' ).hasClass( 'status-publish' ) ) { 5 return; 6 } 3 7 4 8 $.ajax( {
Note: See TracChangeset
for help on using the changeset viewer.