Script Loader: Revert removing unused array_merge.
Code is poetry, until it isn’t. Unprops davidbaumwald. See #61754. Built from https://develop.svn.wordpress.org/trunk@59047 git-svn-id: http://core.svn.wordpress.org/trunk@58443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3c85d540d4
commit
0ec15861c7
|
@ -1213,7 +1213,7 @@ function wp_default_scripts( $scripts ) {
|
||||||
$scripts->add( 'auth-app', "/wp-admin/js/auth-app$suffix.js", array( 'jquery', 'wp-api-request', 'wp-i18n', 'wp-hooks' ), false, 1 );
|
$scripts->add( 'auth-app', "/wp-admin/js/auth-app$suffix.js", array( 'jquery', 'wp-api-request', 'wp-i18n', 'wp-hooks' ), false, 1 );
|
||||||
$scripts->set_translations( 'auth-app' );
|
$scripts->set_translations( 'auth-app' );
|
||||||
|
|
||||||
$scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'clipboard', 'jquery', 'password-strength-meter', 'wp-util', 'wp-a11y' ), false, 1 );
|
$scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter', 'wp-util' ), false, 1 );
|
||||||
$scripts->set_translations( 'user-profile' );
|
$scripts->set_translations( 'user-profile' );
|
||||||
$user_id = isset( $_GET['user_id'] ) ? (int) $_GET['user_id'] : 0;
|
$user_id = isset( $_GET['user_id'] ) ? (int) $_GET['user_id'] : 0;
|
||||||
did_action( 'init' ) && $scripts->localize(
|
did_action( 'init' ) && $scripts->localize(
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.7-alpha-59046';
|
$wp_version = '6.7-alpha-59047';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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