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:
John Blackbourn
2022-09-20 20:30:03 +00:00
parent abd626222c
commit 17954e7778
7 changed files with 16 additions and 20 deletions

View File

@@ -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 );