Plugin Directory

Changeset 726704


Ignore:
Timestamp:
06/14/2013 03:44:26 PM (13 years ago)
Author:
Faison
Message:

Minor fix to remove WP_DEBUG warnings. Added default value for container

Location:
advanced-custom-fields-nav-menu-field
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • advanced-custom-fields-nav-menu-field/trunk/fz-acf-nav-menu.php

    r725318 r726704  
    44Plugin URI: http://faisonz.com
    55Description: Add-On plugin for Advanced Custom Fields (ACF) that adds a 'Nav Menu' Field type.
    6 Version: 1.1.0
     6Version: 1.1.1
    77Author: Faison Zutavern
    88Author URI: http://faisonz.com
  • advanced-custom-fields-nav-menu-field/trunk/nav-menu-v4.php

    r725318 r726704  
    2525        $this->defaults = array(
    2626            'save_format' => 'id',
    27             'allow_null' => 0
     27            'allow_null' => 0,
     28            'container' => 'div'
    2829        );
    2930       
     
    3738            'path' => apply_filters('acf/helpers/get_path', __FILE__),
    3839            'dir' => apply_filters('acf/helpers/get_dir', __FILE__),
    39             'version' => '1.1.0'
     40            'version' => '1.1.1'
    4041        );
    4142
  • advanced-custom-fields-nav-menu-field/trunk/readme.txt

    r725318 r726704  
    66Requires at least: 3.4
    77Tested up to: 3.5.1
    8 Stable tag: 1.1.0
     8Stable tag: 1.1.1
    99License: GPL2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7979== Changelog ==
    8080
     81= 1.1.1 =
     82* I forgot to add a default value for the Menu Container field, so I added 'div' as the default value. If you upgraded from 1.0.0 to 1.1.0 and had WP_DEBUG enabled, you would receive a warning about an unknown index. Since I like debug mode to run without warnings, I fixed this.
     83
    8184= 1.1.0 =
    8285* Added a field which allows users to choose the containing element for the Menu's ul. See [wp_nav_menu's container parameter](http://codex.wordpress.org/Function_Reference/wp_nav_menu#Parameters)
     
    8790== Upgrade Notice ==
    8891
     92= 1.1.1 =
     93I forgot to add a default value for the Menu Container field. So to eliminate WP_DEBUG warnings, I added 'div' as the default value. Please upgrade to avoid the warnings.
     94
    8995= 1.1.0 =
    9096Added a new minor feature for selecting the Menu's containing element.
Note: See TracChangeset for help on using the changeset viewer.