Skip to content

Commit

Permalink
wp_register_script() parameters definition has changed in WP 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jcvignoli committed Jan 5, 2025
1 parent 0d23fad commit f4e686d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/WordPress/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1614,11 +1614,11 @@ function wp_rand( $min = 0, $max = 0 ) {
* @param string|bool $src
* @param array<string> $deps
* @param string|bool|null $ver
* @param bool $in_footer
* @param array|bool $args
*
* @return bool
*/
function wp_register_script( $handle, $src, $deps = array(), $ver = false, $in_footer = false ) {
function wp_register_script( $handle, $src, $deps = array(), $ver = false, $args = array() ) {
}

/**
Expand Down

0 comments on commit f4e686d

Please sign in to comment.