Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit fc2da56

Browse files
committed
Merge pull request WP-API#473 from tlovett1/feature/admin-js
Register client js in admin.
2 parents 13fde1a + 23a2912 commit fc2da56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin.php

+1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ function json_register_scripts() {
243243
wp_localize_script( 'wp-api', 'WP_API_Settings', $settings );
244244
}
245245
add_action( 'wp_enqueue_scripts', 'json_register_scripts', -100 );
246+
add_action( 'admin_enqueue_scripts', 'json_register_scripts', -100 );
246247

247248
/**
248249
* Add the API URL to the WP RSD endpoint.

0 commit comments

Comments
 (0)