Changeset 474238
- Timestamp:
- 12/12/2011 11:17:56 PM (14 years ago)
- Location:
- custom-menu/trunk
- Files:
-
- 2 edited
-
custom-menu.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-menu/trunk/custom-menu.php
r472118 r474238 4 4 Plugin URI: http://www.evolonix.com/wordpress/plugins/custom-menu 5 5 Description: 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. 56 Version: 1.6 7 7 Author: Evolonix 8 8 Author URI: http://www.evolonix.com … … 37 37 38 38 // I18n 39 add_action('init', function() { load_plugin_textdomain('custom-menu', false, basename(dirname(__FILE__)) . '/languages'); }); 39 add_action('init', 'custom_menu_init'); 40 // Removed anonymous function for PHP versions below 5.3. 41 function custom_menu_init() { 42 load_plugin_textdomain('custom-menu', false, basename(dirname(__FILE__)) . '/languages'); 43 } 40 44 41 45 // Admin -
custom-menu/trunk/readme.txt
r472118 r474238 5 5 Requires at least: 2.0.2 6 6 Tested up to: 3.2.1 7 Stable tag: 1. 57 Stable tag: 1.6 8 8 9 9 This plugin allows you to display a custom menu that you've created in your theme's "Menus" section in a post or page. … … 30 30 == Changelog == 31 31 32 = 1.6 = 33 * Removed anonymous function for PHP versions below 5.3. 34 32 35 = 1.5 = 33 36 * Fixed a bug where the menu was always being placed at the top of the content, regardless where the short code was placed. … … 50 53 == Upgrade Notice == 51 54 55 = 1.6 = 56 Upgrade if you are experiencing an unexpected T_FUNCTION error, which displays when your PHP version is below 5.3. 57 52 58 = 1.3 = 53 59 No new functionality in this version.
Note: See TracChangeset
for help on using the changeset viewer.