DocuPress
- 🐛 BUG: Fixed docupress_article_rating_display function name usage in the add_vote ajax
- 🐛 BUG: Fixed fatal error in block when viewing editor after saving the content
- 📦 NEW: Added WPCom Check to restrict plugin usage on wordpress.com
- 📦 NEW: Added PluginUpdateChecker to serve plugin updates from GitHub
- 👌 IMPROVE: Updated array to shorthand syntax
- 👌 IMPROVE: Updated content being added to the_content
- 👌 IMPROVE: Updated JS enqueues to only run when DocuPress elements are present
- 👌 IMPROVE: Updated variable names to fix warnings
- 👌 IMPROVE: Updated details metabox for better visual display
- 👌 IMPROVE: Updated text strings for localization
- 👌 IMPROVE: General code cleanup
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 theadd_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.
- Improved how content is injected into
- Localization & Translation Support:
- Updated text strings to ensure better translation support across languages.