Changeset 1744320
- Timestamp:
- 10/11/2017 12:56:22 AM (8 years ago)
- Location:
- duplicate-menu/trunk
- Files:
-
- 4 edited
- duplicate-menu.php (modified) (4 diffs)
- readme.md (modified) (4 diffs)
- readme.txt (modified) (3 diffs)
- screenshot-1.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
duplicate-menu/trunk/duplicate-menu.php
r963806 r1744320 6 6 Description: Easily duplicate your WordPress Menus 7 7 Author: Jonathan Christopher 8 Version: 0.2 8 Version: 0.2.1 9 9 Author URI: http://mondaybynoon.com 10 10 */ 11 11 12 /* Copyright 2011-201 4Jonathan Christopher (email : jonathan@mondaybynoon.com)12 /* Copyright 2011-2017 Jonathan Christopher (email : jonathan@mondaybynoon.com) 13 13 14 14 This program is free software; you can redistribute it and/or modify … … 27 27 */ 28 28 29 define( 'DUPLICATE_MENU_VERSION', '0.2 ' );29 define( 'DUPLICATE_MENU_VERSION', '0.2.1' ); 30 30 define( 'DUPLICATE_MENU_DIR', plugin_dir_path( __FILE__ ) ); 31 31 define( 'DUPLICATE_MENU_URL', plugin_dir_url( __FILE__ ) ); … … 38 38 39 39 /** 40 * Duplicate Menu41 */40 * Duplicate Menu 41 */ 42 42 class DuplicateMenu { 43 43 44 /** 45 * The duplication process 46 */ 44 47 function duplicate( $id = null, $name = null ) { 45 48 … … 99 102 } 100 103 104 /* 105 * Output the options screen 106 */ 101 107 function options_screen() { 102 108 $nav_menus = wp_get_nav_menus(); -
duplicate-menu/trunk/readme.md
r1139699 r1744320 1 This is a WordPress plugin. [Official download available on wordpress.org](http ://wordpress.org/extend/plugins/duplicate-menu/).1 This is a WordPress plugin. [Official download available on wordpress.org](https://wordpress.org/plugins/duplicate-menu/). 2 2 3 3 # Duplicate Menu … … 11 11 Duplicate Menu will allow you to create a second (or third, or fourth, etc.) copy of an existing Menu to do with what you will. It generates the clone on a programmatic level and recreates all necessary relationships to ensure the structure is retained as well. 12 12 13 Find out more information in my [explanatory article on Duplicate Menu](http://mondaybynoon.com/ 20120723/wordpress-plugin-duplicate-menu/)13 Find out more information in my [explanatory article on Duplicate Menu](http://mondaybynoon.com/wordpress-plugin-duplicate-menu/) 14 14 15 15 ## Installation … … 23 23 After activation, navigate to Appearance > Duplicate Menu to create a copy of an existing Menu 24 24 25 25  26 26 27 27 ### Changelog … … 29 29 <dl> 30 30 31 <dt>0.2.1</dt> 32 <dd>Added some inline documentation</dd> 33 <dd>Fixed link in readme</dd> 34 <dd>Updated screenshot</dd> 35 31 36 <dt>0.2</dt> 32 37 <dd>Added <code>duplicate_menu_item</code> action, allowing devs to bolt on custom functionality</dd> 33 38 34 <dt>0.1.1</dt>35 <dd>Removed anonymous function call to support PHP <5.3 installs</dd>36 <dd>Added link to GitHub, please contribute!</dd>39 <dt>0.1.1</dt> 40 <dd>Removed anonymous function call to support PHP <5.3 installs</dd> 41 <dd>Added link to GitHub, please contribute!</dd> 37 42 38 <dt>0.1</dt>39 <dd>Initial release</dd>43 <dt>0.1</dt> 44 <dd>Initial release</dd> 40 45 41 46 </dl> -
duplicate-menu/trunk/readme.txt
r1703467 r1744320 4 4 Tags: menu, duplicate, copy, clone 5 5 Requires at least: 3.4.2 6 Tested up to: 4.8 7 Stable tag: 0.2 6 Tested up to: 4.8.2 7 Stable tag: 0.2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 17 17 Duplicate Menu will allow you to create a second (or third, or fourth, etc.) copy of an existing Menu to do with what you will. It generates the clone on a programmatic level and recreates all necessary relationships to ensure the structure is retained as well. 18 18 19 Find out more information in my [explanatory article on Duplicate Menu](http ://mondaybynoon.com/20120723/wordpress-plugin-duplicate-menu/)19 Find out more information in my [explanatory article on Duplicate Menu](https://mondaybynoon.com/wordpress-plugin-duplicate-menu/) 20 20 21 21 == Installation == 22 22 23 23 1. Download the plugin and extract the files 24 1. Upload `duplicate- posts` to your `~/wp-content/plugins/` directory24 1. Upload `duplicate-menu` to your `~/wp-content/plugins/` directory 25 25 1. Activate the plugin through the 'Plugins' menu in WordPress 26 26 … … 30 30 31 31 == Changelog == 32 33 = 0.2.1 = 34 * Added some inline documentation 35 * Fixed link in readme 36 * Updated screenshot 32 37 33 38 = 0.2 =
Note: See TracChangeset for help on using the changeset viewer.