Version Description
- Fixed an incompatibility with wp-Typography (http://wordpress.org/extend/plugins/wp-typography/). Fixes http://wordpress.org/support/topic/html-in-titles.
Download this release
Release Info
Developer | eskapism |
Plugin | CMS Tree Page View |
Version | 1.2.9 |
Comparing to | |
See all releases |
Code changes from version 1.2.8 to 1.2.9
- functions.php +13 -1
- index.php +2 -2
- readme.txt +3 -1
functions.php
CHANGED
@@ -1151,7 +1151,7 @@ function cms_tpv_get_pages($args = null) {
|
|
1151 |
|
1152 |
// does not work with plugin ALO EasyMail Newsletter
|
1153 |
remove_filter('get_pages','ALO_exclude_page');
|
1154 |
-
|
1155 |
#do_action_ref_array('parse_query', array(&$this));
|
1156 |
#print_r($get_posts_args);
|
1157 |
|
@@ -1248,6 +1248,18 @@ function cms_tpv_print_childs($pageID, $view = "all", $arrOpenChilds = null, $po
|
|
1248 |
$post_author = __("Unknown user", 'cms-tree-page-view');
|
1249 |
}
|
1250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1251 |
$title = get_the_title($onePage->ID); // so hooks and stuff will do their work
|
1252 |
if (empty($title)) {
|
1253 |
$title = __("<Untitled page>", 'cms-tree-page-view');
|
1151 |
|
1152 |
// does not work with plugin ALO EasyMail Newsletter
|
1153 |
remove_filter('get_pages','ALO_exclude_page');
|
1154 |
+
|
1155 |
#do_action_ref_array('parse_query', array(&$this));
|
1156 |
#print_r($get_posts_args);
|
1157 |
|
1248 |
$post_author = __("Unknown user", 'cms-tree-page-view');
|
1249 |
}
|
1250 |
|
1251 |
+
// does not work with wpTypography and the filter it applies to the_title
|
1252 |
+
// didn't find a variable with it's class, so unsetting the filter "manually"
|
1253 |
+
if ( class_exists("wpTypography") ) {
|
1254 |
+
if ( isset( $GLOBALS['wp_filter']['the_title'][9999] ) ) {
|
1255 |
+
foreach ( $GLOBALS['wp_filter']['the_title'][9999] as $key => $val ) {
|
1256 |
+
if ( "object" === gettype( $val["function"][0] ) && "wpTypography" === get_class( $val["function"][0] ) ) {
|
1257 |
+
unset($GLOBALS['wp_filter']['the_title'][9999][$key]);
|
1258 |
+
}
|
1259 |
+
}
|
1260 |
+
}
|
1261 |
+
}
|
1262 |
+
|
1263 |
$title = get_the_title($onePage->ID); // so hooks and stuff will do their work
|
1264 |
if (empty($title)) {
|
1265 |
$title = __("<Untitled page>", 'cms-tree-page-view');
|
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: 1.2.
|
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", "1.2.
|
31 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
32 |
|
33 |
require(dirname(__FILE__)."/functions.php");
|
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: 1.2.9
|
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", "1.2.9");
|
31 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
32 |
|
33 |
require(dirname(__FILE__)."/functions.php");
|
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.5.1
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 1.2.
|
8 |
|
9 |
Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages.
|
10 |
|
@@ -111,6 +111,8 @@ Now the tree with the pages will be visible both on the dashboard and in the men
|
|
111 |
|
112 |
== Changelog ==
|
113 |
|
|
|
|
|
114 |
|
115 |
= 1.2.8 =
|
116 |
- Fix for post types with dashes in them. Fixes http://wordpress.org/support/topic/custom-posts-with-in-post_type.
|
4 |
Tags: page, pages, posts, custom posts, tree, cms, dashboard, overview, drag-and-drop, rearrange, management, manage, admin
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 1.2.9
|
8 |
|
9 |
Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages.
|
10 |
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
= 1.2.9 =
|
115 |
+
- Fixed an incompatibility with wp-Typography (http://wordpress.org/extend/plugins/wp-typography/). Fixes http://wordpress.org/support/topic/html-in-titles.
|
116 |
|
117 |
= 1.2.8 =
|
118 |
- Fix for post types with dashes in them. Fixes http://wordpress.org/support/topic/custom-posts-with-in-post_type.
|