Skip to content

Commit

Permalink
Merge pull request #9 from kucrut/develop
Browse files Browse the repository at this point in the history
Version 0.4.0
  • Loading branch information
kucrut authored Dec 29, 2016
2 parents 4de0619 + 722f15b commit 13f36c3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
4 changes: 2 additions & 2 deletions menu-item-custom-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
* Menu Item Custom Fields
*
* @package Menu_Item_Custom_Fields
* @version 0.3.0
* @version 0.4.0
* @author Dzikri Aziz <[email protected]>
*
* Plugin name: Menu Item Custom Fields
* Plugin URI: https://github.com/kucrut/wp-menu-item-custom-fields
* Description: Easily add custom fields to nav menu items
* Version: 0.3.0
* Version: 0.4.0
* Author: Dzikri Aziz
* Author URI: http://kucrut.org/
* License: GPLv2
Expand Down
13 changes: 8 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

Easily add custom fields to nav menu items.

**Contributors:** [kucrut](http://profiles.wordpress.org/kucrut)
**Tags:** [menu](http://wordpress.org/plugins/tags/menu), [nav-menu](http://wordpress.org/plugins/tags/nav-menu), [custom-fields](http://wordpress.org/plugins/tags/custom-fields), [metadata](http://wordpress.org/plugins/tags/metadata)
**Contributors:** [kucrut](https://profiles.wordpress.org/kucrut)
**Tags:** [menu](https://wordpress.org/plugins/tags/menu), [nav-menu](https://wordpress.org/plugins/tags/nav-menu), [custom-fields](https://wordpress.org/plugins/tags/custom-fields), [metadata](https://wordpress.org/plugins/tags/metadata)
**Requires at least:** 3.8
**Tested up to:** 3.9
**Stable tag:** 0.3.0
**Tested up to:** 4.7
**Stable tag:** 0.4.0
**License:** [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html)
**Donate Link:** http://kucrut.org/#coffee
**Donate Link:** https://www.paypal.me/kucrut

## Description ##

Expand All @@ -35,6 +35,9 @@ Copy (and customize) and include the `menu-item-custom-fields-example.php` file

## Changelog ##

### 0.4.0 ###
* Support WordPress 4.7, props [rahulnever2far](https://github.com/rahulnever2far).

### 0.3.0 ###
* Use `wp_nav_menu_item_custom_fields` as walker hook. See this [blog post](http://shazdeh.me/2014/06/25/custom-fields-nav-menu-items/).
* Update example plugin
Expand Down
9 changes: 6 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=== Menu Item Custom Fields ===
Contributors: kucrut
Donate Link: http://kucrut.org/#coffee
Donate Link: https://www.paypal.me/kucrut
Tags: menu, nav-menu, custom-fields, metadata
Requires at least: 3.8
Tested up to: 3.9
Stable tag: 0.3.0
Tested up to: 4.7
Stable tag: 0.4.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -34,6 +34,9 @@ Copy (and customize) and include the `menu-item-custom-fields-example.php` file


== Changelog ==
= 0.4.0 =
* Support WordPress 4.7, props [rahulnever2far](https://github.com/rahulnever2far).

= 0.3.0 =
* Use `wp_nav_menu_item_custom_fields` as walker hook. See this [blog post](http://shazdeh.me/2014/06/25/custom-fields-nav-menu-items/).
* Update example plugin
Expand Down
3 changes: 2 additions & 1 deletion walker-nav-menu-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* is only loaded on the wp-admin/nav-menus.php page.
*
* @package Menu_Item_Custom_Fields
* @version 0.1.1
* @version 0.2.0
* @author Dzikri Aziz <[email protected]>
*/

Expand All @@ -27,6 +27,7 @@ class Menu_Item_Custom_Fields_Walker extends Walker_Nav_Menu_Edit {
*
* @see Walker_Nav_Menu::start_el()
* @since 0.1.0
* @since 0.2.0 Update regex pattern to support WordPress 4.7's markup.
*
* @param string $output Passed by reference. Used to append additional content.
* @param object $item Menu item data object.
Expand Down

0 comments on commit 13f36c3

Please sign in to comment.