Skip to main content

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.