Version Description
- Changed the way to find the plugin url. Hopefully works better now. Thanks https://twitter.com/windyjonas for the patch.
Download this release
Release Info
Developer | eskapism |
Plugin | CMS Tree Page View |
Version | 0.8.11 |
Comparing to | |
See all releases |
Code changes from version 0.8.10 to 0.8.11
- index.php +14 -16
- readme.txt +4 -1
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. 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 |
-
Version: 0.8.
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
@@ -28,23 +28,21 @@ License: GPL2
|
|
28 |
#require("functions.php");
|
29 |
require(dirname(__FILE__)."/functions.php");
|
30 |
|
31 |
-
define( "CMS_TPV_VERSION", "0.8.
|
32 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
33 |
|
34 |
-
//
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
$
|
41 |
-
|
42 |
-
)
|
43 |
-
$
|
44 |
-
|
45 |
-
|
46 |
-
// So replace last /trunk/ part
|
47 |
-
$plugin_dir_url = preg_replace("/\/trunk\/$/", "/", $plugin_dir_url);
|
48 |
|
49 |
// There! Now we should have it.
|
50 |
define( "CMS_TPV_URL", $plugin_dir_url);
|
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. 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 |
+
Version: 0.8.11
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
28 |
#require("functions.php");
|
29 |
require(dirname(__FILE__)."/functions.php");
|
30 |
|
31 |
+
define( "CMS_TPV_VERSION", "0.8.11");
|
32 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
33 |
|
34 |
+
// Find the plugin directory URL
|
35 |
+
$aa = __FILE__;
|
36 |
+
if ( isset( $mu_plugin ) ) {
|
37 |
+
$aa = $mu_plugin;
|
38 |
+
}
|
39 |
+
if ( isset( $network_plugin ) ) {
|
40 |
+
$aa = $network_plugin;
|
41 |
+
}
|
42 |
+
if ( isset( $plugin ) ) {
|
43 |
+
$aa = $plugin;
|
44 |
+
}
|
45 |
+
$plugin_dir_url = plugin_dir_url(basename($aa)) . 'cms-tree-page-view/';
|
|
|
|
|
46 |
|
47 |
// There! Now we should have it.
|
48 |
define( "CMS_TPV_URL", $plugin_dir_url);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://eskapism.se/sida/donate/
|
|
4 |
Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.3.1
|
7 |
-
Stable tag: 0.8.
|
8 |
|
9 |
Adds a tree of all your pages or custom posts. Use drag & drop to reorder your pages, and edit, view, add, and search your pages.
|
10 |
|
@@ -86,6 +86,9 @@ Now the tree with the pages will be visible both on the dashboard and in the men
|
|
86 |
|
87 |
== Changelog ==
|
88 |
|
|
|
|
|
|
|
89 |
= 0.8.10 =
|
90 |
- Updated Polish translation, including .mo-file
|
91 |
|
4 |
Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.3.1
|
7 |
+
Stable tag: 0.8.11
|
8 |
|
9 |
Adds a tree of all your pages or custom posts. Use drag & drop to reorder your pages, and edit, view, add, and search your pages.
|
10 |
|
86 |
|
87 |
== Changelog ==
|
88 |
|
89 |
+
= 0.8.11 =
|
90 |
+
- Changed the way to find the plugin url. Hopefully works better now. Thanks https://twitter.com/windyjonas for the patch.
|
91 |
+
|
92 |
= 0.8.10 =
|
93 |
- Updated Polish translation, including .mo-file
|
94 |
|