Skip to content

v.1.1.0 Bug fixes, additions, and min required PHP version changed(PHP ^8.0)

Latest
Compare
Choose a tag to compare
@nikola-wd nikola-wd released this 26 Nov 16:35
· 3 commits to main since this release

Minimum required PHP version changed to ^8.0

  • Along with this change. Latte has been upgraded to version: 3.0.3, and Tracy Debugger to version: 2.9.4
  • Fixed bugs caused by PHP version upgrade
  • With PHP v8.0, we now have support for named arguments

tr_get_media() function, when called synchronously, now prints only the image, without the 2 wrapper divs that are actually needed only for the async call, to prevent the CLS and calculate the space required for the image that would be loaded asynchronously.


TrRepeater component now has a new feature that enables its nested elements to be represented in a grid in the admin. The same way as the root attributes' fields grid works (the only difference is that when setting up the grid, the property name in the repeater's field_meta object is called fields_grid, and not grid ). (Up until now, only the repeater_items could be represented as a grid, but with this update, each 'repeater_item`'s child element can be represented as part of the grid). Note that this only works for the first-level repeaters.

  • With this update, the example repeater-fields-grid block has been created, and we can see this feature used on the breadcrumbs repeater fields of this block.

Previously deregistered WP core blocks, their CSS and other de-registers, and CSS overwrites have now been removed, and all the WP CORE blocks can now be used by default.