jchristopher / duplicate-menu Goto Github PK
View Code? Open in Web Editor NEW[WordPress Plugin] Easily duplicate your WordPress menus with one click
[WordPress Plugin] Easily duplicate your WordPress menus with one click
A fatal crash happens when server settings and debug is activated in this line : https://github.com/jchristopher/duplicate-menu/blob/master/duplicate-menu.php#L50
There should be a check for "isset($_GET['menu'])" before trying to access it because by default, when we arrive in the menu editing screen, there's no menu specified in the query string. Doesn't crash on most live installs because debug isn't activated.
I am using the ubermenu plugin with its various settings. using duplicate-menu all the the post meta data gets not copied to the new instance. if i had a wish i would like to have an option to either duplicate them to the new instance.
all of the UberMenu menu item data is stored in the postmeta table with all the standard menu item data, and is keyed by "_uber_options" (all options for a single menu item are stored in a single serialized meta_value).
PHP Version 7.1.17:
Plugin does what it should but I get this warning after plugin install and calling /wp-admin/themes.php?page=duplicate-menu:
( ! ) Deprecated: Non-static method DuplicateMenu::options_screen() should not be called statically in ...class-wp-hook.php on line 286
I used Duplicate menu to make a copy, but the icon name (such as fa-home) did not duplicate. Am I missing an option somewhere?
I made sure that this plugin can be translated. I did that via PR #13
I could select the menu to duplicate and assign it a new name, but when viewing the menu in Appearance -> Menus, only the very first nav item from the source menu had been copied over.
Following the instructions found on the support pages of this plugin I managed to fix this issue. I would submit a PR but I am ignorant about what this code is doing other than making the plugin work, so it may not be suitable in its current form?
When duplicating a menu I get "The link you followed has expired"
Menu is duplicated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.