MenuItem Copy & Paste

Changelog

1.1.3

  • Resilience: the plugin now checks that its required includes/ files exist before loading. If any are missing, it shows an admin notice and stops safely instead of triggering a site-wide fatal error.

1.1.2

  • Packaging fix: the includes/ directory (item-actions, shortcode, tools, builder classes) and js/menuitem-menu-tools.js were missing from the published package, causing a fatal error on activation (“require_once … class-menuitem-builder.php: No such file”). Re-published with the complete file set. No code changes.

1.1.1

  • Updated “Tested up to” to WordPress 7.0
  • Security/coding-standards: made AJAX nonce verification explicit in each handler (menu duplicate/export/import) so it is visible to static analysis
  • Documented JSON request handling for the paste and import endpoints (validated via json_decode and sanitized per-field)

1.1.0

  • Added Shortcode support: shortcodes now run in menu item URL, navigation label, and description (no extra metabox required; theme-defined shortcodes are executed)
  • Added Duplicate Menu: clone an entire menu (hierarchy preserved) from the editor, next to “Save Menu”; auto-named “{name}_copied”
  • Added per-menu JSON Export (“Export Menu” button, top-right of the menu editor)
  • Added JSON Import (“Import Menu” button): rebuilds a menu as a new menu; page/category items are re-resolved by slug on the target site, enabling cross-site migration of template menus

1.0.7

  • Added Collapse feature: fold/unfold child menu items under any parent menu item
  • Collapse state is persisted per-menu in localStorage and restored on page reload
  • Auto-expansion before drag to safely move parents with their descendants
  • Toggle button auto-shows/hides based on whether the item has children
  • Adjusted button container width to accommodate the 6th button

1.0.6

  • Added New feature: instantly create custom links below items
  • Added Clone feature: duplicate menu items immediately below
  • Added Delete feature: remove items without opening accordions
  • Added visual highlight (blue background) for copied items
  • Improved button tooltips with detailed descriptions
  • Enhanced security: strengthened $_POST variable validation
  • Improved code quality: compliance with WordPress Coding Standards

1.0.4

  • Added accurate position calculation considering hierarchical structure
  • Implemented recursive descendant retrieval

1.0.3

  • Initial release
  • Menu item copy & paste functionality

Plugin Website
Visit website

Author
sarap422
Version:
1.1.3
Last Updated
May 31, 2026
Active Installs
30
Requires
WordPress 5.0
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.