BadgeOS causing conflicts with custom meta boxes
-
Whenever I make revisions to my posts (or create new posts), all of my custom meta information is being stored to the BadgeOS log post rather than the WordPress post.
https://screencast.com/t/d1qTIvJf
So in the top window, we are in wp_posts, the bottom window is wp_postmeta. I ran three separate tests….
Test 1: BadgeOS Deactivated
The first two records (2310 and 2311) are how a new WordPress post generally works. It creates the post (2310), and then does an immediate revision of some sort. If you look down to the bottom window, you’ll see numerous rows of custom fields being assigned to 2310 (the original post), which is what we want.Test 2: BadgeOS Activated
Now we have three records (2312, 2313, 2314). You can see BadgeOS inserts in a post (2313) right after the new page is submitted. Now if you look down at the bottom window, you will see all of the custom fields being stored to 2313, which is the BadgeOS post. Not good…the page submits and says it has been updated successfully, even though nothing was updated.Test 3: badgeos_new_page Removed
This is my “fix” for now. If I remove/comment out the trigger for adding/revising a page (in triggers.php), then it doesn’t create a log entry, which means it goes back to assigning all of the fields to the correct post. It’s strange that this fires on every revision I do as well (and not just new pages).I tried re-installing BadgeOS from scratch to see if there was something messed up in the code, but that didn’t do it…hoping you guys can help.
- The topic ‘BadgeOS causing conflicts with custom meta boxes’ is closed to new replies.