[wp-hackers] what URL does the Dashboard's update button link to?
Haluk Karamete
halukkaramete at gmail.com
Wed Dec 19 21:52:49 UTC 2012
Thank you guys.
I should have thought of this, but the link I was hoping was not query
based. It was silly of me to think of it that way to begin with. All
the image, obviously is posted to the post.php page as a method=post
as opposed to method=get. Of course.
So that route would yield me no fruitful results.
The right question I should have probably asked was if I could get a
list of all the hooked functions at the time of an update? I don't
know how I could get a hold of such a function list?
On Wed, Dec 19, 2012 at 9:37 AM, Jeremy Clarke <jer at simianuprising.com> wrote:
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list