Changeset 2067
- Timestamp:
- 11/10/2015 05:42:07 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-js-warnings/wporg-js-warnings.php
r2066 r2067 27 27 28 28 wp_register_script( 'editor-core', $query->src, $query->deps, $query->ver ); 29 wp_localize_script( 'editor-core', $query->extra['l10n'][0], $query->extra['l10n'][1] ); 29 if ( isset( $query->extra['l10n'] ) ) { 30 wp_localize_script( 'editor-core', $query->extra['l10n'][0], $query->extra['l10n'][1] ); 31 } 30 32 31 33 wp_deregister_script( 'editor' );
Note: See TracChangeset
for help on using the changeset viewer.