CMS Tree Page View - Version 1.3.1

Version Description

  • A problem with WP Super Cache should be fixed. Fixes https://wordpress.org/support/topic/1233-breaks-plugin-fix and probably some more support threads.
Download this release

Release Info

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

Code changes from version 1.3 to 1.3.1

Files changed (2) hide show
  1. index.php +9 -9
  2. readme.txt +5 -1
index.php CHANGED
@@ -5,7 +5,7 @@ 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. Use the tree view to edit, view, add pages and search pages (very 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
  Text Domain: cms-tree-page-view
7
  Domain Path: /languages/
8
- Version: 1.3
9
  Author: Pär Thernström
10
  Author URI: http://eskapism.se/
11
  License: GPL2
@@ -29,24 +29,24 @@ License: GPL2
29
 
30
  #require("functions.php");
31
 
32
- define( "CMS_TPV_VERSION", "1.3");
33
  define( "CMS_TPV_NAME", "CMS Tree Page View");
34
 
35
  require(dirname(__FILE__) . "/functions.php");
36
 
37
  // Find the plugin directory URL
38
  $aa = __FILE__;
39
- if ( isset( $mu_plugin ) ) {
40
- $aa = $mu_plugin;
41
  }
42
- if ( isset( $network_plugin ) ) {
43
- $aa = $network_plugin;
44
  }
45
- if ( isset( $plugin ) ) {
46
- $aa = $plugin;
47
  }
48
 
49
- $plugin_dir_url = trailingslashit( plugin_dir_url(basename($aa)) . basename(dirname($aa)) );
50
 
51
  // There! Now we should have it.
52
  define( "CMS_TPV_URL", $plugin_dir_url);
5
  Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. Use the tree view to edit, view, add pages and search pages (very 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
  Text Domain: cms-tree-page-view
7
  Domain Path: /languages/
8
+ Version: 1.3.1
9
  Author: Pär Thernström
10
  Author URI: http://eskapism.se/
11
  License: GPL2
29
 
30
  #require("functions.php");
31
 
32
+ define( "CMS_TPV_VERSION", "1.3.1");
33
  define( "CMS_TPV_NAME", "CMS Tree Page View");
34
 
35
  require(dirname(__FILE__) . "/functions.php");
36
 
37
  // Find the plugin directory URL
38
  $aa = __FILE__;
39
+ if ( isset( $cms_tpv_mu_plugin ) ) {
40
+ $aa = $cms_tpv_mu_plugin;
41
  }
42
+ if ( isset( $cms_tpv_network_plugin ) ) {
43
+ $aa = $cms_tpv_network_plugin;
44
  }
45
+ if ( isset( $cms_tpv_plugin ) ) {
46
+ $aa = $cms_tpv_plugin;
47
  }
48
 
49
+ $plugin_dir_url = plugin_dir_url($aa);
50
 
51
  // There! Now we should have it.
52
  define( "CMS_TPV_URL", $plugin_dir_url);
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and
5
  Text Domain: cms-tree-page-view
6
  Requires at least: 3.8
7
  Tested up to: 4.2
8
- Stable tag: 1.3
9
 
10
  Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages.
11
 
@@ -117,6 +117,10 @@ Now the tree with the pages will be visible both on the dashboard and in the men
117
 
118
  == Changelog ==
119
 
 
 
 
 
120
  = 1.3 =
121
 
122
  - Languages should be loaded from wordpress.org, if available there.
5
  Text Domain: cms-tree-page-view
6
  Requires at least: 3.8
7
  Tested up to: 4.2
8
+ Stable tag: 1.3.1
9
 
10
  Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages.
11
 
117
 
118
  == Changelog ==
119
 
120
+ = 1.3.1 =
121
+
122
+ - A problem with WP Super Cache should be fixed. Fixes https://wordpress.org/support/topic/1233-breaks-plugin-fix and probably some more support threads.
123
+
124
  = 1.3 =
125
 
126
  - Languages should be loaded from wordpress.org, if available there.