Releases: Hylbee/anchor-dynamic-url
Release list
v1.5.1
v1.5.0
Added
- Extended Elementor URL control: New
AnchorUrlControlclass extends Elementor's native URL control to embed ananchor_targetfield directly inside the control, replacing the previous separate field injection approach - Elementor integration refactor: Rewrote
class-elementor-integration.php— cleaner architecture with the anchor field natively part of the URL control widget
Fixed
- Update notifications suppressed during AJAX/cron: Update check no longer runs during AJAX requests or WP-Cron jobs, preventing unnecessary background load and noise in admin notifications
- Elementor integration file renamed: Renamed
elementor-integration.php→class-elementor-integration.phpfor consistency with WordPress class file naming conventions; loader reference updated inclass-anchor-manager.php
v1.4.0
#Menu Anchor Manager v1.3.2
Added
- Elementor container link support: Anchor targets now work on containers configured with an HTML
<a>tag (link wrapping), using output buffering to rewrite the generatedhrefafter render - Elementor widget URL rewriting: New
elementor/widget/render_contentfilter rewrites all URL controls in rendered widget HTML, including support for HTML-encoded URLs (&variants) - Fallback template injection: Extended URL control template now falls back to appending the anchor field at the end if the expected Elementor template structure changes after an Elementor update
- Output buffer safety:
ob_get_level()stored before buffering and verified beforeob_get_clean()to prevent buffer corruption if another plugin interferes
Improved
- Elementor control options:
anchor_targetoption is now injected into existing URL controls viaelementor/element/before_section_end, ensuring all widgets get the anchor field without requiring per-widget registration
Security
- Regex replacement hardening: Replaced unsafe
preg_replacewithpreg_replace_callbackin Elementor container link rewriting — prevents potential backreference injection via$1/\1sequences in constructed replacement strings - Capability check added:
save_anchor()now verifiescurrent_user_can('edit_theme_options')in addition to nonce validation, preventing privilege escalation if a nonce were somehow obtained by a lower-privileged user
v1.3.2
Menu Anchor Manager v1.3.2
Fixed
- Critical Security Fix: Removed dangerous
afterInstallfunction that was causing file system corruption- Fixed issue where the plugin would randomly move and deactivate other WordPress plugins
- Removed erroneous
upgrader_post_installfilter hook that was interfering with WordPress core update system - Eliminated file movement operations that could corrupt plugin installations
Removed
- Add anchor ID control to all elements (Advanced tab)
- Removed due to duplicate functionality with Elementor's native ID field
- Simplified user interface by avoiding redundancy
Compatibility: WordPress 5.0+ | PHP 7.4+
v1.3.1
Rename project "Menu anchor manager" to "Anchor Dynamic URL"
🔧 Bug Fixes & Improvements
This release focuses on WordPress coding standards compliance and enhanced internationalization.
Fixed
- WordPress Coding Standards: Fixed all Plugin Checker warnings and errors
- Fixed text domain mismatches (changed 'elementor' to 'anchor-dynamic-url')
- Added proper input validation and sanitization for
$_SERVER['REQUEST_URI'] - Fixed missing nonce verification in menu save operations
- Replaced restricted
date()function with WordPresswp_date() - Fixed slow database queries by removing inefficient meta_query usage
- Added proper escaping for all output functions
Improved
- Security: Enhanced input validation and sanitization throughout the plugin
- Performance: Optimized database operations
- Code Quality: Enhanced error handling and debugging
Enhanced
- Internationalization: Complete translation system overhaul
- Added comprehensive translator comments for all strings
- Fixed missing translation strings throughout the plugin
- Updated POT file with all current translatable strings
- Completed French translation (fr_FR) with all new strings
- Documentation: Added extensive English comments throughout codebase
Technical
- WordPress Compliance: Full compliance with WordPress Plugin Directory standards
- Plugin Checker: Resolved all warnings and errors from WordPress Plugin Checker
- Translation Ready: Plugin now fully ready for WordPress.org translation system
🚀 Full Changelog: https://github.com/Hylbee/anchor-dynamic-url/blob/v1.3.1/CHANGELOG.md
📋 Support: https://github.com/Hylbee/anchor-dynamic-url/issues
The release notes are based on the changelog entries for version 1.3.1, highlighting the major
improvements in WordPress compliance, security, internationalization, and code quality.
v1.3.0
Menu Anchor Manager v1.3.0
⚙️ New feature
- Elementor Integration: Added anchor support for Elementor elements
- New input field for all elements with URL controls
- Supports both Elementor's native ID and custom anchors
- Supports all URL types (internal, external, custom)
Compatibility: WordPress 5.0+ | PHP 7.4+
v.1.2.3
Menu Anchor Manager v1.2.3 🧹
🧹 Code Cleanup
- Streamlined: Removed duplicate changelog system in favor of GitHub integration
- Performance: Reduced plugin size by removing unused JavaScript/CSS
- Maintenance: Simplified codebase with direct GitHub links
🔗 GitHub Integration
- Direct links: Changelog now links directly to GitHub CHANGELOG.md
- Consolidated support: All support via GitHub Issues
- Better UX: No more modal popups, clean direct navigation
🛠️ Technical Fixes
- Fixed PHP syntax error in plugin meta links
- Streamlined admin styles to only handle menu interface
- Reduced code complexity and maintenance overhead
Result: Cleaner, faster, more maintainable plugin with better GitHub integration.
Compatibility: WordPress 5.0+ | PHP 7.4+
v1.2.2
Menu Anchor Manager v1.2.2 🔧
🐛 Bug Fixes
- Fixed: Anchor sanitization now applies immediately when saving menus
- Improved: Users see sanitized anchors directly in the interface
🛠️ Code Improvements
- Refactored: Eliminated code duplication with AnchorSanitizer utility class
- Enhanced: Better domain-driven architecture
- Maintained: DRY principles throughout the codebase
Compatibility: WordPress 5.0+ | PHP 7.4+
v1.2.1
Menu Anchor Manager v1.2.1 🛠️
🐛 Critical Bug Fix
- Fixed: Fatal error on plugin activation (Closure serialization)
- Improved: WordPress core compatibility for plugin hooks
- Enhanced: Plugin stability during activation/deactivation
This is a critical patch that resolves activation issues experienced in v1.2.0.
All users should update immediately.
Compatibility: WordPress 5.0+ | PHP 7.4+
Menu Anchor Manager v1.2.0
🆕 New Features
- Automatic Updates: Full GitHub-based update system
- Smart Caching: 12-hour intelligent caching for better performance
- Admin Notifications: Seamless update notifications in WordPress
- One-Click Updates: Install updates directly from plugins page
🔧 Technical Improvements
- Enhanced plugin architecture with better organization
- Added comprehensive lifecycle hooks
- WordPress/PHP version validation on activation
- Robust error handling for network requests
Full compatibility: WordPress 5.0+ | PHP 7.4+ | Single-site installations