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 and requires other things, some of which include and require still more things. I am honestly not sure what all has to be done– never been a fan of the “front end posting” idea– but this is not a small project or a simple one.

I guess that does answer this question though:

Does anybody know where in the core files this file and/or it’s
dependencies are defined?

Leave a Comment