Skip to content

2.0.0

Compare
Choose a tag to compare
@tschortsch tschortsch released this 02 Dec 19:37
· 556 commits to master since this release

This is a major update of the plugin. Please check if the mentioned breaking changes affect your code before updating to this version.

Changelog

  • Breaking Change [REMOVE] Old object template structure for row templates is not supported anymore! Please update your templates to the new array structure (see filter documentation).
  • Breaking Change [REMOVE] Removed unused wpBootstrapBlocks.row.useOldObjectTemplateStructure filter.
  • Breaking Change [REMOVE] Removed wpBootstrapBlocks.container.useFluidContainerPerDefault filter. Please use wp_bootstrap_blocks_container_default_attributes filter instead.
  • Breaking Change [CHANGE] Removed unused wrapper-div from row template. The alignfull class now gets added directly to the row.
  • Breaking Change [CHANGE] Renamed wpBootstrapBlocks.container.customMarginOptions filter to wpBootstrapBlocks.container.marginAfterOptions.
  • [FEATURE] Support for responsive containers which were introduced in Bootstrap 4.4. Use them by setting the Fluid Breakpoint option in the container block.
  • [FIX] Reset centerContent attribute of column block if background-color gets removed.
  • [FIX] Check if className attribute isn't empty before adding it to template to avoid empty strings in classes array.
  • [FIX] Fix filemtime() warning if asset version couldn't be found.

Modified templates

The following templates were modified in this release. Please think about updating your own templates if you have overwritten one of those:

  • container.php
  • row.php
  • column.php
  • button.php