OK, as inevitably happens, I found at least part of the answer to my question as soon as I posted the question. The old values are in the “options” table and the “post_meta” table.
So, now I need to know if I can just delete those records or if I need to do something more complicated.
Steve P
-
This reply was modified 4 years, 5 months ago by
pritchs.
A bit strange that they didn’t get deleted with the test data, at least depending on the deletion method.
For example if you were using the WordPress UI to delete things, it should have cleaned all this up. However, if you did something like MySQL commands to delete the posts, then that wouldn’t have taken custom field values out as well.
Worst case, I’d say take a quick backup of things, and delete the no-longer-needed values. In case they are in fact important, you can restore and regain.
I used the WordPress UI to delete the test posts. I too expected them to go away. I’m way too rusty in my SQL to go after something that way.:)
I was hoping to avoid the old “try it and restore from backup if it blows up”. 🙂
I’ll give it a shot and see what happens.
Thanks
SP
I believe you should be fine to remove those items, unless critical functionality was built around the post meta values, which is not a common thing from my experiences.
I removed them first on a staging site and after that backed up and deleted them on the live site. No negative behavior so far.
Weird thing though. I had five “contributors”, four of which I wanted to get rid of. One was my first and last name which I wanted to keep, three were nonsense names and the last was my first name. The nonsense names were removed easily but my first name only contributor has withstood all of my attempts to get rid of it. I can live with that, but it is curious how removing the same records that got rid of the nonsense names didn’t work with my first name only contributor.
Thanks for the responses. Much appreciated.
Steve P
Hard to say really, at least from my perspective. Wish I had better answers on that front.
This could potentially be due to creating the custom post types etc. on a staging site and then moving it to the live site. Something might have gotten messed up in the transfer. I should have deleted the posts in the staging site before the move.
I’ll still play with it on the staging site and see if I can get rid of the stubborn thing w/o making things worse.
SP