Ticket #29722: 29722.patch
| File 29722.patch, 493 bytes (added by , 11 years ago) |
|---|
-
src/wp-includes/class.wp-scripts.php
diff --git a/src/wp-includes/class.wp-scripts.php b/src/wp-includes/class.wp-scripts.php index 89a9ec9..05934d0 100644
a b class WP_Scripts extends WP_Dependencies { 160 160 unset($l10n['l10n_print_after']); 161 161 } 162 162 163 foreach ( (array) $l10n as $key => $value ) {163 if( !is_scalar($l10n) ) foreach ( (array) $l10n as $key => $value ) { 164 164 if ( !is_scalar($value) ) 165 165 continue; 166 166