Files
wordpress/wp-includes/class-wp-script-modules.php
Weston Ruter 3dba61bc34 Script Loader: Restore original return value for WP_Script_Modules::get_dependencies().
Even though this method is private, there are some usages of it in the ecosystem via the Reflection API. So this reverts the script module IDs `string[]` return value in favor of the original `array<string, array>` return value. This re-emphasizes the need for more public accessor methods being tracked in #60597. 

Developed in https://github.com/WordPress/wordpress-develop/pull/10403

Follow-up to [60999].

Props pbiron, westonruter, johnbillion. 
See #63486, #60597.

Built from https://develop.svn.wordpress.org/trunk@61073


git-svn-id: http://core.svn.wordpress.org/trunk@60409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-10-27 16:12:36 +00:00

31 KiB