Title: Plugin removes post meta
Last modified: August 22, 2016

---

# Plugin removes post meta

 *  [malakhovmisha](https://wordpress.org/support/users/malakhovmisha/)
 * (@malakhovmisha)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-removes-post-meta/)
 * I have custom post type and custom post meta.
    When I do drag&drop, i lost all
   my post meta. And after this post has no more meta. Please help me 🙂
 * [https://wordpress.org/plugins/simple-page-ordering/](https://wordpress.org/plugins/simple-page-ordering/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [malakhovmisha](https://wordpress.org/support/users/malakhovmisha/)
 * (@malakhovmisha)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/plugin-removes-post-meta/#post-5946398)
 * I solved my problem by adding define(DOING_AUTOSAVE, true); on 104 line simple-
   page-ordering.php
 *  [scamartist26](https://wordpress.org/support/users/scamartist26/)
 * (@scamartist26)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/plugin-removes-post-meta/#post-5946756)
 * I am having this same problem. Is there a chance this fix will be added to the
   plugin?
 *  [scamartist26](https://wordpress.org/support/users/scamartist26/)
 * (@scamartist26)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-removes-post-meta/#post-5946815)
 * [@malakhovmisha](https://wordpress.org/support/users/malakhovmisha/) is your 
   problem with the custom post meta only on CPTs that have a “custom column” displaying
   this meta? I think that could be why this issue has not gotten much attention.
   Please confirm if this is the case for you as well.
 * I have issued a [pull request](https://github.com/jakemgold/simple-page-ordering/pull/8)
   to the plugin github account with the above fix in place. Also I have been [tracking the issue](https://github.com/jakemgold/simple-page-ordering/issues/4)
   there.
 * Hope to see a resolution to this, because the plugin is awesome!
 *  [scamartist26](https://wordpress.org/support/users/scamartist26/)
 * (@scamartist26)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/plugin-removes-post-meta/#post-5946822)
 * I Verified the code was my problem. `if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)`
   was set to `return $post_id;` when it should only `return;`.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin removes post meta’ is closed to new replies.

 * ![](https://ps.w.org/simple-page-ordering/assets/icon-256x256.png?rev=2716033)
 * [Simple Page Ordering](https://wordpress.org/plugins/simple-page-ordering/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-page-ordering/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-page-ordering/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-page-ordering/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-page-ordering/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-page-ordering/reviews/)

## Tags

 * [drag-and-drop](https://wordpress.org/support/topic-tag/drag-and-drop/)

 * 4 replies
 * 2 participants
 * Last reply from: [scamartist26](https://wordpress.org/support/users/scamartist26/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/plugin-removes-post-meta/#post-5946822)
 * Status: not resolved