Changeset 4397 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
- Timestamp:
- 11/21/2016 10:25:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r4391 r4397 93 93 } 94 94 95 if ( !isset( $_REQUEST['noreact'] ) ) { 95 // React is currently only used on detail pages 96 if ( is_single() ) { 96 97 wp_enqueue_script( 'wporg-plugins-client', get_template_directory_uri() . '/js/theme.js', array(), false, true ); 97 98 wp_localize_script( 'wporg-plugins-client', 'app_data', array(
Note: See TracChangeset
for help on using the changeset viewer.