Changeset 3460
- Timestamp:
- 06/19/2016 11:03:43 AM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/class-base.php
r3367 r3460 14 14 new Routes\Internal_Stats(); 15 15 new Routes\Plugin(); 16 new Routes\Plugin_Translations(); 16 17 new Routes\Popular_Categories(); 17 18 new Routes\Query_Plugins(); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style-rtl.css
r3459 r3460 437 437 margin: 0 0 1.5em; 438 438 width: 100%; 439 } 440 441 .notification { 442 padding: .5rem; 443 background: #C7E8CA; 444 text-align: center; 445 font-size: 12.8px; 446 font-size: 0.8rem; 447 } 448 449 @media (min-width: 67rem) { 450 .notification { 451 margin: 1rem auto 0; 452 max-width: 960px; 453 } 439 454 } 440 455 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css
r3459 r3460 437 437 margin: 0 0 1.5em; 438 438 width: 100%; 439 } 440 441 .notification { 442 padding: .5rem; 443 background: #C7E8CA; 444 text-align: center; 445 font-size: 12.8px; 446 font-size: 0.8rem; 447 } 448 449 @media (min-width: 67rem) { 450 .notification { 451 margin: 1rem auto 0; 452 max-width: 960px; 453 } 439 454 } 440 455 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r3389 r3460 75 75 if ( is_singular( 'plugin' ) ) { 76 76 wp_enqueue_script( 'wporg-plugins-accordion', get_template_directory_uri() . '/js/section-accordion.js', array(), '20160525', true ); 77 78 $slug = get_queried_object()->post_name; 79 wp_enqueue_script( 'wporg-plugins-locale-banner', get_template_directory_uri() . '/js/locale-banner.js', array(), '20160525', true ); 80 wp_localize_script( 'wporg-plugins-locale-banner', 'wporgLocaleBanner', array( 81 'apiURL' => rest_url( "/plugins/v1/plugin/$slug/translations" ), 82 ) ); 77 83 } 78 84 }
Note: See TracChangeset
for help on using the changeset viewer.