Skip to main content

1.14.0 - Local Time Block, Bug Fixes

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co
Léo Muniz
Senior Full Stack Engineer @ Yoko Co

Adds Local Time Gutenberg block. Adds allowed-role-[ROLE SLUG] classes to gated posts' body classes. Multisite site admins can add SVGs. Local Time Gutenberg block based on the [local_time] shortcode.

ADDS

  • [Local Time Block] Adds the native Gutenberg block "Local Time" to allow times to be converted from one timezone to another and/or to the browser's timezone. Uses the Local Time shortcode to render the block.
  • [Local Time Shortcode Docs] Flushes out the local time shortcode attribute documentation.
  • [Content Gating Role Classes] Adds allowed-role-[ROLE SLUG] classes to gated posts' body classes for personalization.

FIXES

  • **[Multisite] Multisite site admins (not super admins) can now add SVGs. This was added to make it possible for site admins to use The Icon Block Gutenberg block. Without this code, adding SVG icons fails because admins on multisites are not allowed to add unfiltered HTML by default in WordPress.

CHANGES

  • Updates Guzzler composer package to 6.5.8 for compatibility reasons.