Skip to main content

4 posts tagged with "Bug Fix"

Bug Fixes

View All Tags

1.11.0 - Blocks, Hierarchical Posts, and Bugs

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

This release introduces customizations of Hierarchical Posts to make them easier to manage including via extensions to the native Navigation and Post Title block to make it easy to create sub-menus with FSE. Also fixes bugs with Yoko User detection in the admin dashboard, relational taxonomy compatibility with FacetWP and the HeroIcon shortcode.

ADDS

  • [HIERARCHICAL CPT] Adds subpages column to hierarchical post types that aren't pages
  • [HIERARCHICAL CPT] Adds metafield fallback from child to parent for hierarchical post types when meta is looked up but is empty on child
  • [GUTENBERG] Adds "Use Child Pages" option to core navigation block.
  • [GUTENBERG] Adds "Use Parent Title" option to core title block to render parent's title from child page.

FIXES

  • [ADMIN] Simplifies Yoko User detection in admin for better compatibility on multisite.
  • [RELTAX] Fixes bug in which Relational Taxonomies were being registered too late for FacetWP to detect.
  • [SHORTCODES] Fixes bug in HeroIcons shortcode.

1.10.3 - WP All Import Integration

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

This maintenance release adds initial integrations with WP All Import to make it easier to write targetted import scripts. It adds the YokoCo\sideload_file function to make it easier to upload non-image attachments. It fixes a CSS rendering issue with Select2 dropdowns in WP Admin and gracefully handles error in the Core Navigation block "Child Menu" customization caused by the block not having any children. This update also makes it possible to change the label of the Relational Taxonomy of a CPT so that the rendered metaboxes have contextual names (ex for a Person CPT, the rel tax can be called "Authors").

ADDS

  • [WP ALL IMPORT] Adds pmxi_saved_post_{post_type} action to make it easy to add functions to imports of a specific post type.
  • [WP ALL IMPORT] Automatically require_once the wp-all-import.php file from the theme if it exists.
  • [ADMIN] Adds the YokoCo\sideload_file function that mirrors the native WordPress media_sideload_image function, but for any file type.

FIXES

  • [RELTAX] Fixes the Select2 CSS of a relational taxonomy filter select on the post screen.
  • [BLOCKS] Gracefully handles Core Navigation block "Child Menu" customization when it fails due to a lack of internal blocks.
  • [BEAVER BUILDER] Fixes bug in Heroicons and Keen Slider modules where path to sub files was missing a leading slash.

CHANGES

  • [RELTAX] The target post type meta box has the label of the rel taxonomy instead of the CPT because the taxonomy describes the relationship (ex. author).

1.9.7 - Performance and Bug Fixes

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

Introduces the unpublish post functionality, the content protectection lock in the WP adminbar for posts with protected content, along with an Admin Bar Roles option to configure which roles can see the adminbar on the frontend. Also adds integration configuration with AMS Connect for WP to ensure legacy SSO boilerplates and shortcodes continue to work as normal and a timezone attribute to the [add-to-calendar] shortcode.

Fixes

  1. [ADMIN] Fixes Appsero automatic Opt In function.
  2. [ADMIN] Fixes appearance of "BG Actions" submenu in Yoko Adminbar menu.

Adds

  1. [CONTENT PROTECTION] Adds content protection lock into Admin Bar when the current post is configured to be visible to only specific roles.
  2. [AMS CONNECT] Adds connection between AMS Connect for WP plugin and the Yoko Core content protection.
  3. [OPTIONS] Adds the "Admin Bar Roles" option to control which roles should be able to see the adminbar when they are logged in.
  4. [UNPUBLISH POST] Adds the unpublish post functionality allowing user to schedule a post to be unpublished and set to draft at a specified future time.
  5. [ADD TO CALENDAR] Adds timezone attribute to add to calendar shortcode.
  6. [YOKO LOGGER] Adds the yoko_log_nodate( $message, $type ) function to create log files that do not automatically split into daily logs.

1.9.2 Docusaurus Documentation!

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co
Léo Muniz
Senior Full Stack Engineer @ Yoko Co
  1. [NEW FEATURE] New Docusaurus documentation website exists now!
  2. [DOCUMENTATION] Added changelog guidelines.
  3. [BUG FIX] Prevents CPTSync manual sync from syncing incorrect post type.
  4. [IMPROVEMENT] Adds ZZ formatting option to date.format.js and yoko_local_time_to_time_formatted filter for custom formatting overrides.
  5. [NEW FEATURE] Integrates Appsero for plugin usage statistics.