Remove Vafpress safely
Before
A legacy theme may contain a bootstrap require such as require .../vafpress-framework/bootstrap.php and declarations using VP_Option / VP_Metabox.
Migration
- Back up and test on staging.
- Install/activate Pressundo.
- Remove the old Vafpress runtime folder from the theme.
- Remove the explicit Vafpress bootstrap require.
- Do not rename storage keys.
- Keep common legacy declarations while validating the site.
Pressundo exposes compatibility classes/functions so standard field declarations continue through the modern renderer.
Safety boundary
Legacy arbitrary whitelisted PHP callbacks and unsafe PHP template includes are disabled by default. Enabling those escape hatches is a conscious compatibility risk, not the normal migration path.