Multiple Category Selection Widget

Changelog

4.0.0

  • New: Gutenberg block — “Multi-Category Filter” available in the block editor
  • New: Lightweight CSS file with clean BEM-style classes
  • Removed: PHP sessions — all search state now carried in URL query parameters
  • Removed: jQuery dependency — AJAX chaining rewritten in vanilla JavaScript
  • Fixed: AJAX chaining now sends the nonce (was broken since v3.2.0)
  • Fixed: Shortcode now returns output instead of echoing (proper shortcode behavior)
  • Fixed: Rewrite rules no longer flushed on every page load (only on activation)
  • Fixed: AJAX handler uses wp_send_json_success() instead of print/die
  • Changed: Admin settings page uses dedicated slug instead of FILE
  • Changed: All redirect calls use wp_safe_redirect()
  • Changed: Requires WordPress 6.0+
  • Security: Tightened input validation with sanitize_key(), absint(), whitelist checks

3.2.0

  • PHP 8.x compatibility: replaced create_function() with anonymous function
  • Security: ABSPATH guards, nonce verification, input sanitization, output escaping
  • Replaced get_bloginfo(‘url’) with home_url()

3.1.6

  • Tested in WP 4.3.1
  • Updated widget implementation to PHP 5 methodology

3.1.5

  • Tested in WP 3.8
  • Fixed overriding the navigation menu WP script

3.1.4

  • Tested in WP 3.7
  • Fixed media library files missing after plugin search

3.1.3

  • Tested in WP 3.5.2
  • Fixed AND/IN rewrite rules

3.1.1

  • Extensive testing on any/all search
  • Reverted select box layout

3.1

  • Created admin settings page
  • Added shortcode [mcsw]
  • AJAX on/off toggle
  • Form display above results toggle

3.0

  • Support for multiple forms on a page
  • Shortcode support
  • Rewrite rule fixes

2.4

  • Rewrite rules only flush on activation

2.3

  • Fixed variable checking
  • Added title ordering

2.2

  • AJAX chained select boxes

2.1

  • WordPress 2.8+ widget class with multiple instances

2.0

  • Fixed permalink issues
  • All-in-one-SEO and WP Smart Sort compatibility

1.0

  • First release

Plugin Website
Visit website

Author
zackdesign
Version:
4.0.0
Last Updated
February 23, 2026
Active Installs
200
Requires
WordPress 6.0
Tested Up To
WordPress 6.9.1
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.