Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the wp_options table the widget_logic_options is 4MB #70

Open
bedmas opened this issue Aug 21, 2024 · 1 comment
Open

In the wp_options table the widget_logic_options is 4MB #70

bedmas opened this issue Aug 21, 2024 · 1 comment

Comments

@bedmas
Copy link

bedmas commented Aug 21, 2024

Is there any reason why this is option is 4MB. Is there a way to optimize this value?

@kasparsd
Copy link
Owner

That option is used to store the visibility rules for all widgets (similar to how WP core stores all widget placements per sidebar in a single option). Could it be that the site has a lot of unused widgets from undefined sidebars (used by previous themes for example)?

Technically the plugin should always delete all the visibility settings for nonexistent widgets here:

// Remove non-existant widget contexts from the settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants