fix menu position for wp2.7

git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@82775 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
jmash 2008-12-29 02:07:57 +00:00
parent b16ffd317f
commit 6742bbc6fe
2 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,7 @@ Contributors: JoelStarnes
Tags: order pages, ajax, re-order, drag-and-drop, admin, manage, page, pages, sidebar, header, hide, Tags: order pages, ajax, re-order, drag-and-drop, admin, manage, page, pages, sidebar, header, hide,
Requires at least: 2.1 Requires at least: 2.1
Tested up to: 2.7 Tested up to: 2.7
Stable tag: 1.2.0 Stable tag: 1.2.1
Manage your multitude of pages with pageMash's slick drag-and-drop style, ajax interface. Allows for quick sorting, hiding and organising of page parenting structure in a simple intuative manner. Manage your multitude of pages with pageMash's slick drag-and-drop style, ajax interface. Allows for quick sorting, hiding and organising of page parenting structure in a simple intuative manner.
@ -55,6 +55,9 @@ Any good up-to-date browser should work fine. I test in Firefox, IE7, Safari and
==Change Log== ==Change Log==
= 1.2.1 =
- fix for menu position in WP2.7
= 1.2.0 = = 1.2.0 =
- Introduces multi-lingual support. - Introduces multi-lingual support.
- Adds German translation - Adds German translation

View File

@ -4,7 +4,7 @@ Plugin Name: pageMash
Plugin URI: http://joelstarnes.co.uk/pagemash/ Plugin URI: http://joelstarnes.co.uk/pagemash/
Description: Manage your multitude of pages with pageMash's slick drag-and-drop style, ajax interface. Allows quick sorting, hiding and organising of page structure. Description: Manage your multitude of pages with pageMash's slick drag-and-drop style, ajax interface. Allows quick sorting, hiding and organising of page structure.
Author: Joel Starnes Author: Joel Starnes
Version: 1.2.0 Version: 1.2.1
Author URI: http://joelstarnes.co.uk/ Author URI: http://joelstarnes.co.uk/
*/ */
@ -199,7 +199,7 @@ function pageMash_add_excludes($excludes){
function pageMash_add_pages(){ function pageMash_add_pages(){
//add menu link //add menu link
global $minlevel; global $minlevel, $wp_version;
if($wp_version >= 2.7){ if($wp_version >= 2.7){
$page = add_submenu_page('edit-pages.php', 'pageMash page order', __('pageMash ','pmash'), $minlevel, __FILE__, 'pageMash_main'); $page = add_submenu_page('edit-pages.php', 'pageMash page order', __('pageMash ','pmash'), $minlevel, __FILE__, 'pageMash_main');
}else{ }else{