Skip to content

Version 2.3.0

Latest

Choose a tag to compare

@ajaydsouza ajaydsouza released this 11 Mar 11:13
· 44 commits to master since this release

Changelog

Release post: https://webberzone.com/announcements/snippetz-v2-3-0/

  • Features:

    • External Minified Files: New setting to generate and load external minified CSS/JS files instead of inline output.
    • File Combination: Option to combine all CSS/JS snippets into single minified files for significantly improved page load performance.
    • Tools Page: Added a new Tools page under Settings (or Snippets) to easily regenerate minified assets, clear cache, and view system and file statistics.
    • Added support for class attributes in the [ata_snippet] shortcode (e.g. [ata_snippet id="1" class="custom-class"]).
  • Improvements:

    • Updated to latest version of WebberZone Settings API.
    • Improved internal hook management for better reliability.
    • Reorganized plugin architecture with strict namespaces and autoloading.
    • Applied global snippet_priority option to wp_head and wp_footer hooks for better execution order control.
    • Custom CSS (Header CSS setting) is now enqueued via wp_add_inline_style instead of a raw <style> tag, following WordPress best practices.
    • CSS/JS snippets are now exclusively enqueued via wp_enqueue_scripts, eliminating redundant processing during wp_head/wp_footer that could cause incorrect output timing.
    • Admin column styles are now enqueued via wp_add_inline_style on admin_enqueue_scripts instead of a raw <style> tag in admin_head.
  • Bug fixes:

    • Fixed content display settings for post exclusions.
    • Corrected multiple @since tag references in internal options API documentation.

Full Changelog: v2.2.0...v2.3.0