wp_enqueue_script|style() dependency failures are silent
|Reported by:||johnbillion||Owned by:|
If I call wp_enqueue_script() or wp_enqueue_style() with a dependency that doesn't exist then I don't get told about it.
wp_enqueue_script( 'my-script', get_stylesheet_directory_uri() . '/my-script.js', array( 'script-that-does-not-exist' ) );
Actual result: 'my-script' gets enqueued, but I don't get told that 'script-that-does-not-exist' doesn't exist and wasn't enqueued.
Expected result: When WP_DEBUG is true, I should get a PHP notice warning me that the dependency script doesn't exist.