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 require
s wp-admin/admin.php
which include
s and require
s 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?
Related Posts:
- WordPress: Sortable Metabox Fields Not Saving Position
- How to reload a select box of posts dynamically?
- Add X meta box inputs based on form at top of meta box, how to do it right?
- Unbind postbox click handler
- Disable collapse of admin meta boxes
- validate a metabox based on the category that is selected
- Edit single attachment on click (WP-admin)
- Hide metabox dependant on page template chosen
- Using WP_Query to grab custom meta values, foreach to json object
- Good Solution for Adding jQuery Tabs Anywhere Within WordPress?
- delete post meta by AJAX
- Do I need to use jQuery for my template?
- Adding URL of PDF from Thickbox in a Meta Box
- Why does my media selection script write to ONLY the first input field?
- Disable drag metaboxes, create many functions using js not to work!
- JQuery multiple toggle values
- Override default options in plugin metaboxes
- Disable button in jQuery
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- How do you select a particular option in a SELECT element in jQuery?
- My javascript is returning this error: $.ajax is not a function
- Wildcards in jQuery selectors
- jQuery: How can I create a simple overlay?
- Invalid or unexpected token on a very simple function
- How to make Bootstrap carousel slider use mobile left/right swipe
- How to get a cross-origin resource sharing (CORS) post request working
- Adding a page loader using jQuery
- jquery – return value using ajax result on success
- Show div #id on click with jQuery
- How can I change CSS display none or block property using jQuery?
- Can you detect “dragging” in jQuery?
- Twitter Bootstrap Modal Form Submit
- How to overwrite a JavaScript core function?
- AJAX call returns 0
- Automatically decrease font size for long words
- Custom function to rearrange attachments when creating posts – Almost there
- How to listen to color changes on the color picker?
- Adding fields to the media uploader with jquery listeners
- $wp_customize customizer_preview_init not firing inside javascript
- jQuery Hoverintent plugin in TwentyEleven Menu [closed]
- How wp_enqueue_script works?
- Script won’t execute in the media manager
- Basic ajax call in WordPress
- jQuery Validate wp_editor
- How do I setup nested repeatable option fields?
- What are best practices for including jquery plugins
- wp_enqueue_scripts hook is not being called
- wp_ajax unauthenticated and authenticated
- ‘jQuery is not defined Error’ appearing in load-scripts.php
- Firebug : Problem with jQuery in WordPress admin panel
- JSON output returns page source code [closed]
- Display data on same page as form without refresh
- Ajaxify calendar
- Problem with tables (huge data) on Word-press site
- Gravity Forms – jQuery in List Field [closed]
- Dropdown filtering extremely slow
- Fall Back Google CDN in JavaScript
- wp_enqueue doesn’t work
- filterable portfolio with wordpress and jquery
- Trouble enqueueing jquery with custom theme
- WP-admin redirects to login after adding SSL certificate
- Dynamicaly update field created with wp_editor()
- I have an old version of jQuery showing up. How do I figure out where it is coming from?
- add custom HTML css with js doesn’t work
- Search input area autogrow – how?
- Populating shortcode values dynamically in theme template
- WordPress Rotating Background Images
- Change quantity via jQuery and disabile quantity field [closed]
- Trying to Load jQuery
- Get value of selected option in select field in a WordPress form
- jQuery – Toggle megamenu submenu items by click
- General Settings: display custom plugin field after Site Address field
- WordPress Insert not working with ajax
- WP AJAX API with JS file
- need to override function in jquery.ui.datepicker.js
- Can user meta be shown or hidden depending on user logged in status?
- Screen Options JavaScript Code
- Is there some jQuery conflict here?
- Dynamic WordPress editor in meta box
- Theme has superfish – how to add supersubs?
- How to modify iFrame content in an admin thickbox
- Storing current page WP list table HTML data into a PHP variable
- bundled jquery in theme js not working with wp_localize_script
- jQuery not working for media uploader
- How to toggle custom WP archive list
- I can’t enqueue Suggest.js in frontend – not added
- Jquery code won’t run loaded from WP, but run from console
- WordPress and Raty.js
- JQuery is not defined but jquery script is loaded in source [closed]
- search in jquery mobile returns blank page
- owl carousel not working after ajax load [duplicate]
- jQuery post method in admin menu
- jquery not working correctly in plugin options page?
- jQuery AJAX add json2 dependency?
- Group posts by weekly or monthly
- How to read the contents of single post through RSS feed
- jQuery Ajax / Modal admin event not firing since 3.6. Seems to not recognize “a” tag
- WordPress video end function [duplicate]
- jQuery cycle thumbnails?
- Sliders with buttons [closed]