mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-06 13:44:30 +00:00
Docs: Various improvements and corrections to inline docs.
See #55646 git-svn-id: https://develop.svn.wordpress.org/trunk@54267 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -169,7 +169,7 @@ function wp_default_packages_vendor( $scripts ) {
|
||||
* @since 5.0.0
|
||||
*
|
||||
* @param WP_Scripts $scripts WP_Scripts object.
|
||||
* @param array $tests Features to detect.
|
||||
* @param string[] $tests Features to detect.
|
||||
* @return string Conditional polyfill inline script.
|
||||
*/
|
||||
function wp_get_script_polyfill( $scripts, $tests ) {
|
||||
@@ -1745,8 +1745,8 @@ function wp_default_styles( $styles ) {
|
||||
*
|
||||
* @since 2.3.1
|
||||
*
|
||||
* @param array $js_array JavaScript scripts array
|
||||
* @return array Reordered array, if needed.
|
||||
* @param string[] $js_array JavaScript scripts array
|
||||
* @return string[] Reordered array, if needed.
|
||||
*/
|
||||
function wp_prototype_before_jquery( $js_array ) {
|
||||
$prototype = array_search( 'prototype', $js_array, true );
|
||||
|
||||
Reference in New Issue
Block a user