CMS Tree Page View - Version 0.7.1

Version Description

  • quick fix: capability edit_pages required to view the tree menu, instead of editor (which led to administrators not being able to view the tree...)
Download this release

Release Info

Developer eskapism
Plugin Icon wp plugin CMS Tree Page View
Version 0.7.1
Comparing to
See all releases

Code changes from version 0.7 to 0.7.1

Files changed (3) hide show
  1. functions.php +1 -1
  2. index.php +2 -2
  3. readme.txt +5 -2
functions.php CHANGED
@@ -131,7 +131,7 @@ function cms_tpv_admin_menu() {
131
  $slug = "edit.php?post_type=$one_menu_post_type";
132
  }
133
  $post_type_object = get_post_type_object($one_menu_post_type);
134
- add_submenu_page($slug, $post_type_object->labels->name . " Tree View", $post_type_object->labels->name . " Tree View", "editor", "cms-tpv-page-$one_menu_post_type", "cms_tpv_pages_page");
135
  }
136
 
137
  add_submenu_page( 'options-general.php' , CMS_TPV_NAME, CMS_TPV_NAME, "administrator", "cms-tpv-options", "cms_tpv_options");
131
  $slug = "edit.php?post_type=$one_menu_post_type";
132
  }
133
  $post_type_object = get_post_type_object($one_menu_post_type);
134
+ add_submenu_page($slug, $post_type_object->labels->name . " Tree View", $post_type_object->labels->name . " Tree View", "edit_pages", "cms-tpv-page-$one_menu_post_type", "cms_tpv_pages_page");
135
  }
136
 
137
  add_submenu_page( 'options-general.php' , CMS_TPV_NAME, CMS_TPV_NAME, "administrator", "cms-tpv-options", "cms_tpv_options");
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CMS Tree Page View
4
  Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
5
  Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. By using the tree you can edit, view, add pages and even search pages (useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
6
- Version: 0.7
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
@@ -27,7 +27,7 @@ License: GPL2
27
 
28
  require("functions.php");
29
 
30
- define( "CMS_TPV_VERSION", "0.7");
31
  define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
32
  define( "CMS_TPV_NAME", "CMS Tree Page View");
33
 
3
  Plugin Name: CMS Tree Page View
4
  Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
5
  Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. By using the tree you can edit, view, add pages and even search pages (useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
6
+ Version: 0.7.1
7
  Author: Pär Thernström
8
  Author URI: http://eskapism.se/
9
  License: GPL2
27
 
28
  require("functions.php");
29
 
30
+ define( "CMS_TPV_VERSION", "0.7.1");
31
  define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
32
  define( "CMS_TPV_NAME", "CMS Tree Page View");
33
 
readme.txt CHANGED
@@ -72,14 +72,17 @@ Now the tree with the pages will be visible both on the dashboard and in the men
72
 
73
  == Changelog ==
74
 
 
 
 
75
  = 0.7 =
76
  - added comment count to pop up
77
  - added support for custom columns in pop up = now you have the same information available in CMS Tree Vage View as in the normal page/post edit screen
78
- - fixed some colors to better match worpress own style
79
  - editor capability required to view tree. previosly only administators chould see the tree in the menu, while everyone could view the tree on the dashboard.
80
  - no more infinite loops with role scoper installed
81
  - tested on WordPress Multisite
82
- -
83
 
84
  = 0.6.3 =
85
  - tree is activated for pages during install, so the user does not need to set up anything during first run
72
 
73
  == Changelog ==
74
 
75
+ = 0.7.1 =
76
+ - quick fix: capability edit_pages required to view the tree menu, instead of editor (which led to administrators not being able to view the tree...)
77
+
78
  = 0.7 =
79
  - added comment count to pop up
80
  - added support for custom columns in pop up = now you have the same information available in CMS Tree Vage View as in the normal page/post edit screen
81
+ - fixed some colors to better match wordpress own style
82
  - editor capability required to view tree. previosly only administators chould see the tree in the menu, while everyone could view the tree on the dashboard.
83
  - no more infinite loops with role scoper installed
84
  - tested on WordPress Multisite
85
+
86
 
87
  = 0.6.3 =
88
  - tree is activated for pages during install, so the user does not need to set up anything during first run