Forum Replies Created

Viewing 1 replies (of 1 total)
  • Finally found this topic, but aww man…

    The autosave request (admin-ajax.php action=autosave) only includes “blessed” parameters in the post data? There is no hook to “bless” form elements from plugins so they will be sent too? At least there is a work around…

    My suggestions for 2.8.5 or greater…

    • Let me give my form elements a specific class that the autosave function will look for and include the corresponding form el’s name/value in autosave request.
    • Make the save_post hook a little more easy. Maybe pass an extra argument to the hook function to indicate whether or not an autosave is in progress.
    • Submit the whole form on autosave. Why not?
Viewing 1 replies (of 1 total)