Script dependencies for post.js
Because of the dependency handling built into the script registration system you should only need … wp_enqueue_script(‘post’); … to load all of the required scripts, which is exactly what the Core does. But just loading the scripts isn’t going to make everything work. That form is actually loaded by wp-admin/post.php, which requires wp-admin/admin.php which includes … Read more