DocuPress

Release notes

This update for DocuPress brings bug fixes, new features, and key improvements for performance, compatibility, and usability.

🐛 Bug Fixes

  • Fixed AJAX Voting Function: Corrected the docupress_article_rating_display function name in the add_vote AJAX handler to prevent errors.
  • Resolved Editor Crash: Fixed a fatal error that occurred in the block editor when viewing content after saving.

🚀 New Features

  • WordPress.com Compatibility Restriction: Implemented WPCom Check to prevent plugin usage on WordPress.com-hosted sites.
  • GitHub Plugin Updates: Added PluginUpdateChecker, allowing the plugin to receive updates directly from GitHub.

🔧 Improvements

  • Code Modernization & Performance:
    • Updated arrays to shorthand syntax for cleaner code.
    • Improved variable naming to resolve warnings and enhance maintainability.
    • General code cleanup for better performance and readability.
  • Content & UI Enhancements:
    • Improved how content is injected into the_content for better output handling.
    • Updated JavaScript enqueues to run only when DocuPress elements are present, reducing unnecessary script loading.
    • Enhanced the details metabox UI for better visual clarity.
  • Localization & Translation Support:
    • Updated text strings to ensure better translation support across languages.