Support » Plugins » Saving custom meta data

  • I’ve got a custom meta box on my Edit/Add Post page. When the users click on Save or Publish then the contents of that box are transferred as part of the post data.

    However when Autosave fires then the contents aren’t transferred which means that if a user changes the contents in my meta data box and relies on Autosave to save it then his changes are lost.

    Is this either :

    1) Me doing something wrong
    2) A huge bug in WordPress
    3) A defect in WordPress

    ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You doing something wrong. Meta data is specifically not included in the autosave call.

    But why isn’t meta data saved during an autosave? its part of the post and it would seem logical to assume that if autosave fires that it saves meta data too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Saving custom meta data’ is closed to new replies.