[wp-hackers] what URL does the Dashboard's update button link to?
Jeremy Clarke
jer at simianuprising.com
Wed Dec 19 17:37:12 UTC 2012
Did you try disabling JS in your browser to see what happens? WP should
work without JS, and if it's not there then you'll probably be able to
figure out what the fallback solution is and what gets passed in _POST etc.
That said, you should also try out a solution using wp_insert_post()
(/wp-includes/post.php around line 2700) as it will fire most of the post
saving hooks that your theme is likely to use, and avoids all the noise
you'll create by loading the actual post editing page from inside your
code.
--
Jeremy Clarke • jeremyclarke.org
Code and Design • globalvoicesonline.org
More information about the wp-hackers
mailing list