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.

1.13.6 - Sets CMB2 to version 2.11.x

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Fixes conflict with CMB2 version 2.4.x by setting CMB2 version to 2.11.x

FIXES

  • [CMB2] Sets CMB2 to version 2.11.x due to bug with version 2.4.x

1.13.7 - Adds filters and front-end classes

· One min read
Sarah Lewis
Senior Full Stack Engineer @ Yoko Co
Léo Muniz
Senior Full Stack Engineer @ Yoko Co

Adds filters to control the display of CPTSync buttons on the editor and post listing screens. Adds front-end classes to indicate availability of a featured image. Fixes a timezone WP Activity Log integration error.

ADDS

  • [CPTSync] Adds the yoko_sync_get_source_id filter to allow modification of the AMS ID returned from get_source_id().
  • [CPTSync] Adds the yoko_sync_invalid_source_id_message filter to allow modification of the Invalid Source ID message.
  • [CPTSync] Adds the yoko_sync_box_post_id filter to allow modification of the post ID used for re-sync and audit buttons on the editor screen.
  • [CPTSync] Adds the yoko_sync_admin_column_post_id filter to allow modification of the post ID used for re-sync and audit buttons on the post listing screen.
  • [FRONT-END CLASSES] Adds has-featured-image and no-featured-image body and post classes for use in front-end styling.

FIXES

  • WP Activity Log integration error - Timezone fallback for multisites when on a subsite doesn't have timezone_string WP option.

1.13.5 - Reverts CMB2 to 2.4.x

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Fixes conflict with CMB2 version 2.88.x by reverting it back to 2.4.x. Also fixes issue with Admin CSS only rendering for Yoko Users. Admin CSS now renders for all admin dashboard loads.

FIXES

  • [CMB2] Reverts CMB2 to version 2.4.x due to bug. Flushes composer.json.
  • [ADMIN] Fixes bug where Admin CSS would not load for all users and only for Yoko Users.

1.13.4 - Admin CSS, Typesense Search Exclude

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

This update introduces a new Yoko Options page for admin users, allowing custom CSS injection in the WordPress Admin Dashboard and easier targeting of user roles. It also adds an "Exclude from Typesense" option for search integration, and improves shortcode handling for external styles and scripts in the URLProxy class. Additionally, a bug with Beaver Builder's HeroIcons color selector is fixed, and the CMB2 library is updated to version 2.88.x.

ADDS

  • [ADMIN] Adds a Yoko Options page with options only accessible to Yoko team members. Added first option called "Admin CSS" for injecting CSS in WP Admin Dashboard.
  • [ADMIN] Adds role-[ROLE SLUG] call to the WP admin dashboard for easy CSS/JS targetting of specific roles.
  • [TYPESENSE] Adds the "Exclude from Typesense" metabox when Search with Typesense plugin is being used.
  • [SHORTCODE] Adds support for rewriting href attributes on external style tags and src attributes on javascript tags in the URLProxy.php class.

FIXES

  • [BEAVER BUILDER] Fixes Beaver Builder HeroIcons color selector bug.

CHANGES

  • [CMB2] Bumps CMB2 up to version 2.88.x.

1.13.3 - Hierarchical Post Type Adjustments

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Adds the "Child Post Options" metabox to child posts of Yoko Hierarchical Post types to enable page omission from parent menus and changing menu label if title is too long. Fixes bug with Superscript and Subscript buttons not working.

ADDS

  • [ADMIN] Adds the "Child Post Options" metabox to child posts of Yoko Hierarchical Post types to enable page omission from parent menus and changing menu label if title is too long.

FIXES

  • [TINYMCE] Fixes bug with Superscript and Subscript buttons not working.

1.13.2 - TinyMCE Superscript/Subscript Shortcuts

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Reveals the superscript and subscript buttons in the TinyMCE and adds shortcuts for each. Superscript -> Command + Shift + . and Subscript -> Command + Shift + ,.

ADDS

  • [TinyMCE] Reveals the superscript and subscript buttons in the TinyMCE and adds shortcuts for each.

1.13.1 - Content Protection Enhancements

· One min read
Sarah Lewis
Senior Full Stack Engineer @ Yoko Co
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Adds filters to control the inclusion of the Content Protection metabox on different post types and adjust the list of available roles. Adds event URL support in the Add to Calendar Gutenberg block. Fixes [yoko_content] shortcodes bugs that prevented shortcode values from working in blocks. eldest_parent_ types fallback to current post value if it has no parent.

ADDS

  • [Content Protection] Adds the yoko_sso_content_restriction_metabox_object_types filter to allow modification of the list of post types that will have the Content Protection metabox.
  • [Content Protection] Adds the yoko_sso_content_restriction_metabox_roles filter to allow modification of the list of roles available for selection in the Content Protection metabox.
  • [GUTENBERG] Adds support for eventUrl in the Add to Calendar Gutenberg block.

CHANGES

  • [Content Protection] Excludes media files from showing the Content Protection metabox by default; the client experience team reported this was causing confusion.

FIXES

  • [GUTENBERG] Fixes bug with shortcodes not working in the Add to Calendar block.
  • [SHORTCODES] eldest_parent_ types in the yoko_content fallback to the current post if parent is 0.

1.13.0 - Add to Calendar Block, [yoko_content] Shortcode

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Introduces native Add to Calendar Gutenberg block. Adds the [yoko_content type="eldest_parent_title"] shortcode to fill the gaps on missing content relationship connections in existing page builders.

ADDS

  • [GUTENBERG] Adds the add to calendar Gutenberg block.
  • [SHORTCODES] Adds the [yoko_content type="eldest_parent_title"] shortcode.

CHANGES

  • [GUTENBERG] Updates boilerplate block demonstrate rendering and editing tools.