foreach is a statement, not a function.
See #33491. Built from https://develop.svn.wordpress.org/trunk@33734 git-svn-id: http://core.svn.wordpress.org/trunk@33702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -135,7 +135,7 @@ $out = '';
|
||||
$wp_scripts = new WP_Scripts();
|
||||
wp_default_scripts($wp_scripts);
|
||||
|
||||
foreach( $load as $handle ) {
|
||||
foreach ( $load as $handle ) {
|
||||
if ( !array_key_exists($handle, $wp_scripts->registered) )
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user