Skip to content

Releases: Hylbee/anchor-dynamic-url

v1.5.1

Choose a tag to compare

@LDrender LDrender released this 19 May 10:35

Fixed

  • Fully qualified stdClass: Used \stdClass instead of stdClass in the compatibility array inside AnchorDynamicUrlUpdater — prevents potential class resolution issues in namespaced contexts

v1.5.0

Choose a tag to compare

@LDrender LDrender released this 19 May 09:57

Added

  • Extended Elementor URL control: New AnchorUrlControl class extends Elementor's native URL control to embed an anchor_target field 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.phpclass-elementor-integration.php for consistency with WordPress class file naming conventions; loader reference updated in class-anchor-manager.php

v1.4.0

Choose a tag to compare

@LDrender LDrender released this 30 Apr 14:21

#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 generated href after render
  • Elementor widget URL rewriting: New elementor/widget/render_content filter rewrites all URL controls in rendered widget HTML, including support for HTML-encoded URLs (&amp; 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 before ob_get_clean() to prevent buffer corruption if another plugin interferes

Improved

  • Elementor control options: anchor_target option is now injected into existing URL controls via elementor/element/before_section_end, ensuring all widgets get the anchor field without requiring per-widget registration

Security

  • Regex replacement hardening: Replaced unsafe preg_replace with preg_replace_callback in Elementor container link rewriting — prevents potential backreference injection via $1/\1 sequences in constructed replacement strings
  • Capability check added: save_anchor() now verifies current_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

Choose a tag to compare

@LDrender LDrender released this 16 Sep 07:55

Menu Anchor Manager v1.3.2

Fixed

  • Critical Security Fix: Removed dangerous afterInstall function that was causing file system corruption
    • Fixed issue where the plugin would randomly move and deactivate other WordPress plugins
    • Removed erroneous upgrader_post_install filter 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

Choose a tag to compare

@LDrender LDrender released this 01 Aug 08:34

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 WordPress wp_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

Choose a tag to compare

@LDrender LDrender released this 31 Jul 15:42

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

Choose a tag to compare

@LDrender LDrender released this 24 Jul 09:39

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

Choose a tag to compare

@LDrender LDrender released this 24 Jul 09:25

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

Choose a tag to compare

@LDrender LDrender released this 24 Jul 09:08

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

Choose a tag to compare

@LDrender LDrender released this 24 Jul 09:00

🆕 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