Repository navigation
Builder Meta Cleanup v2.2.1
Astra cleanup: cover astra_docs_data and the full astra_% / astra-% option families
The Astra target's option allowlist only covered the dash variants (astra-settings, theme_mods_astra) and the postmeta prefixes ast- / _astra_, so the underscore-prefixed astra_docs_data (Astra's cached help/docs payload, often 100KB+ and autoloaded) was missed. v2.2.1 extends the Astra target so it can clean the full astra_… / astra-… family.
Added
- Astra: exact option
astra_docs_dataadded to the allowlist. - Astra:
options_likepatternsastra_%andastra-%covering Astra Sites / Starter Templates (astra_sites_*), Astra Pro / Astra Addons (astra_pro_*,astra-addon-auto-version, etc.), and addon flag rows.
Safety
Deletion of the new exact option and both options_like patterns is still gated through options_like_choice_allowed() → is_target_active('astra'). The rows will only be offered for deletion when the Astra theme is not the active template/stylesheet.
Admin
Themes & frameworks tab → Astra now shows the new exact-option checkbox plus two pattern-based rows (astra_%, astra-%).
WP-CLI
wp builder-meta options-delete --option=astra_docs_data --yes
wp builder-meta options-like-delete --target=astra --pattern=astra_underscore --yes
wp builder-meta options-like-delete --target=astra --pattern=astra_dash --yesUpgrade
Patch release. No configuration changes required. Sites still on Astra will see the new options listed but cannot delete them until the theme is switched, matching the rest of the plugin's behavior.