Skip to content

Version 4.2.0

Choose a tag to compare

@ajaydsouza ajaydsouza released this 14 Feb 05:16
6031c55

Release post: https://webberzone.com/announcements/contextual-related-posts-v4-2-0/

  • Features:

    • [Pro] Multisite tool to copy Contextual Related Posts settings between sites from the Network Settings page.
    • [Pro] WooCommerce integration with ECSI-powered product indexing and related posts output on product pages. WooCommerce-related products output customisation options (thumbnail, sale badge, price, rating, and add to cart) and product filtering options.
    • [Pro] Server Load Threshold setting to skip CRP queries when MySQL is backlogged. Learn more.
    • [Pro] Bot Protection setting to short-circuit CRP for known crawlers and bots, preserving resources and analytics integrity.
    • [Pro] Comprehensive WP-CLI command suite for advanced management, including database operations, cache management, custom table indexing, and content processing. Commands include wp crp db, wp crp cache, wp crp tables indexes, and more, with full multisite support.
    • [Pro] If Pro is active, the plugin renames "Exclude Categories" and "Exclude on Categories" to "Exclude Terms" and "Exclude on Terms" with support for all public custom taxonomies.
    • Media Handler now supports the FIFU WordPress plugin for featured image detection.
  • Modifications:

    • [Pro] Added a "Save & Clear Cache" button on the settings page to purge cached results immediately after saving changes.
    • Cache key generation differentiates between the HTML cache and the Posts cache. Cache key generation has been significantly optimized to limit the number of keys.
    • Improved Media Handler to reduce recursion, generate more reliable resized thumbnails, and better detect image alt text and attributes.
    • Settings framework refactored from static to instance methods with Tom Select-powered AJAX taxonomy search for a smoother admin experience.
    • Refreshed built-in related posts styles (grid, masonry, rounded thumbs and thumbs grid) with CSS custom properties for improved responsiveness and easier theming.
    • Migrated post meta storage from single crp_post_meta array to individual _crp_* keys for better performance and compatibility. Includes a backward compatibility layer and an admin migration tool.
    • Updated custom table sync to generate a post excerpt if the post doesn't contain one. It will also include the keyword set in the meta field.
    • CRP_Core_Query class now accepts post_id as the primary parameter, supporting both integer and WP_Post object types. The legacy postid parameter is deprecated and will trigger a warning; it will be removed in a future release.
    • Change CRP_CACHE_TIME to a week, down from a month.
    • Updated bundled Freemius SDK to version 2.13.0.
  • Bug fixes:

    • Fixed a missing echo in the Media Handler that could prevent some image markup from being printed in specific cases.
    • Improved translation string handling in the settings UI and adjusted Plugin Check rules to avoid false positives.
    • Fixed display issue with special characters (like ™ and ®) in post titles.
    • CRP_Core_Query was incorrectly called more than once within the same request.

Full Changelog: 4.1.0...4.2.0