Upgrading from 3.x
Version 4.0.0 is a rewrite, but the public shortcode surface is preserved:
- All 23 existing shortcode tags and their attributes keep working.
- Existing page content does not need to be edited.
bsv-button-groupandbsv-accordion-itemare available for new content.
What changes
- The stylesheet is compiled from Bootstrap 5.3 with the
bsv-prefix. Some colors and spacing values are corrected from the stale hand-written CSS; the layout remains equivalent for existing shortcodes. [bsv-callout]and[bsv-jumbo]are removed. They no longer had a working Bootstrap component in 3.0.1; use[bsv-alert]and[bsv-card]instead.- The plugin no longer loads Bootstrap JavaScript or jQuery. Its own vanilla controllers provide alert dismissal, collapse, modal, accordion, tooltip and popover behavior.
- The settings screen is replaced by a read-only About page under
Settings → Bootstrap Visuals. The
lewe_bsv_optionsoption is deleted on the first admin request after the upgrade and again on uninstall.
Upgrade procedure
- Deactivate the 3.0.1 plugin.
- Upload the 4.0.0 ZIP and replace the existing plugin, or delete the old plugin folder and upload the new one. Page content stays in the database.
- Activate 4.0.0.
- Open any admin page once so the legacy option is removed.
If WordPress reports “Destination folder already exists” and does not offer
“Replace current with uploaded”, a stale folder exists in
wp-content/plugins/shortcode-bootstrap-visuals. Delete that folder (or the
plugin via Plugins → Installed Plugins) and upload the ZIP again. No page
content is removed by deleting the plugin.