Home / Forums / WoodMart support forum / Old Woodmart headers autoladed in wp_options
Home › Forums › WoodMart support forum › Old Woodmart headers autoladed in wp_options
Old Woodmart headers autoladed in wp_options
- This topic has 11 replies, 3 voices, and was last updated 4 years, 5 months ago by
churchworks.
-
AuthorPosts
-
May 25, 2020 at 8:15 am #197639
horny_fungusParticipantHi, 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/103afccc038329f9b75a47d49e68521dMay 25, 2020 at 11:59 am #197703
Artem TemosKeymasterHello,
Yes, we will fix this in our next theme update. Thank you for reporting us.
Kind Regards
May 25, 2020 at 12:08 pm #197706
horny_fungusParticipantThank you very much. I will appreciate it greatly!
May 25, 2020 at 12:47 pm #197731
horny_fungusParticipantDo I understand correctly that all options named xts-header_[some number here] except the one used now can be safely deleted?
May 25, 2020 at 1:48 pm #197732
Artem TemosKeymasterYes, if headers with that IDs are removed then you can remove those records from the database.
May 25, 2020 at 2:26 pm #197759
horny_fungusParticipantOne 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.
May 25, 2020 at 3:09 pm #197770
horny_fungusParticipantAlso I found two very similar autoloaded options –
woodmart_optionsandxts-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?May 26, 2020 at 2:41 am #197760
Artem TemosKeymasterBut 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.
May 26, 2020 at 8:19 am #197944
horny_fungusParticipantI 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 aboutwoodmart_optionsandxts-woodmart-options?May 26, 2020 at 6:21 pm #197946
Artem TemosKeymasterwoodmart_optionscan 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.May 12, 2021 at 4:55 pm #291877
churchworksParticipantHow can I find the ID for the header/headers I’m currently using (so I can discard the rest)?
May 12, 2021 at 5:11 pm #291878
churchworksParticipantI 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!
-
AuthorPosts
The topic ‘Old Woodmart headers autoladed in wp_options’ is closed to new replies.
- You must be logged in to create new topics. Login / Register