Old Woodmart headers autoladed in wp_options
-
Hi, i was exploring my wp_options database table and found that there are 4 version of Woodmart header settings and all of them are autoladed. Is this for purpose? As far as I understand only one current version needed, all other versions should not be stored and moreover autoladed.
Can you please fix this in a manner that old header settings are deleted automatically from database when newer ones are saved?
Here’s a screenshot to illustrate the thesis – https://gyazo.com/103afccc038329f9b75a47d49e68521d
Hello,
Yes, we will fix this in our next theme update. Thank you for reporting us.
Kind Regards
Thank you very much. I will appreciate it greatly!
Do I understand correctly that all options named xts-header_[some number here] except the one used now can be safely deleted?
Yes, if headers with that IDs are removed then you can remove those records from the database.
One more comment – it looks like the same applied to whb_header_[some number] option as well. At least in my case I see some a few options autoladed for headers which are not used anywhere.
Also I found two very similar autoloaded options – woodmart_options
and xts-woodmart-options
. Looks like the former is outdated version and is not used anymore. In one of updates it was changed to latter one. Do I understand correctly?
But most of the theme users use only one or two headers on their websites and disable autoloading for these options will harm their website performance.
I suppose there’s some misunderstanding. I am not talking about disabling autoload for headers options at all, I just found that in my case there are some headers which are not used but autoladed. I had a problem with headers after one of Woodmart updates, so maybe this old headers are kept in database since then.
Can you please answer the question about woodmart_options
and xts-woodmart-options
?
woodmart_options
can be removed since it comes from the old version. As for the headers, we will check this for our next update. And if you see records with header IDs that you already removed, you can delete them from the database.
How can I find the ID for the header/headers I’m currently using (so I can discard the rest)?
I may have answered my own question: I found the header IDs in the url to edit each header. If there is another way to find the IDs, I’d be curious to know. Thanks!
The topic ‘Old Woodmart headers autoladed in wp_options’ is closed to new replies.