After [32596] and [32597], ensure that `wp_scripts|styles()` is called to ensure an instance is created of `WP_Scripts|Styles()` before calling `->do_items()`.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32728 git-svn-id: http://core.svn.wordpress.org/trunk@32699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2459cbd20f
commit
05682bdaa8
|
@ -82,7 +82,7 @@ function wp_print_scripts( $handles = false ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $wp_scripts->do_items( $handles );
|
return wp_scripts()->do_items( $handles );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -61,7 +61,7 @@ function wp_print_styles( $handles = false ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $wp_styles->do_items( $handles );
|
return wp_styles()->do_items( $handles );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-alpha-32727';
|
$wp_version = '4.3-alpha-32728';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue