Make WordPress Core

Changeset 59051


Ignore:
Timestamp:
09/18/2024 02:22:27 PM (3 weeks ago)
Author:
SergeyBiryukov
Message:

Script Loader: Restore user-profile.js dependencies after an accidental revert.

Follow-up to [59033], [59046], [59047].

Props TobiasBg.
See #61754.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r59047 r59051  
    12141214    $scripts->set_translations( 'auth-app' );
    12151215
    1216     $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter', 'wp-util' ), false, 1 );
     1216    $scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'clipboard', 'jquery', 'password-strength-meter', 'wp-util', 'wp-a11y' ), false, 1 );
    12171217    $scripts->set_translations( 'user-profile' );
    12181218    $user_id = isset( $_GET['user_id'] ) ? (int) $_GET['user_id'] : 0;
Note: See TracChangeset for help on using the changeset viewer.