Plugin Directory

Changeset 472118


Ignore:
Timestamp:
12/07/2011 06:41:22 PM (14 years ago)
Author:
thiudis
Message:

Committing multiple bug fixes up to version 1.5

Location:
custom-menu/trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • custom-menu/trunk/class-custom-menu-shortcode.php

    r451505 r472118  
    3333            echo '<h3 class="custom-menu-title">' . $atts['title'] . '</h3>';
    3434       
    35         wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) );
     35        return wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu, 'echo' => false ) );
    3636    }
    3737   
  • custom-menu/trunk/custom-menu.php

    r453113 r472118  
    44Plugin URI: http://www.evolonix.com/wordpress/plugins/custom-menu
    55Description: This plugin allows you to display a custom menu that you've created in your theme's "Menus" section in a post or page. Use [menu name="Menu Name"] in your post or page to insert the custom menu. The "name" attribute is required. Since version 1.2, you can now provide a "title" attribute to add a header title to your custom menu (e.g. [menu name="Menu Name" title="My Menu"].)
    6 Version: 1.4
     6Version: 1.5
    77Author: Evolonix
    88Author URI: http://www.evolonix.com
  • custom-menu/trunk/readme.txt

    r453113 r472118  
    55Requires at least: 2.0.2
    66Tested up to: 3.2.1
    7 Stable tag: 1.2
     7Stable tag: 1.5
    88
    99This plugin allows you to display a custom menu that you've created in your theme's "Menus" section in a post or page.
     
    2929
    3030== Changelog ==
     31
     32= 1.5 =
     33* Fixed a bug where the menu was always being placed at the top of the content, regardless where the short code was placed.
    3134
    3235= 1.4 =
Note: See TracChangeset for help on using the changeset viewer.