CMS Tree Page View - Version 1.2.32

Version Description

  • Fix for possible XSS attack.
Download this release

Release Info

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

Code changes from version 1.2.31 to 1.2.32

Files changed (3) hide show
  1. functions.php +3 -3
  2. index.php +2 -2
  3. readme.txt +6 -2
functions.php CHANGED
@@ -465,7 +465,7 @@ function cms_tpv_promo_above_wrapper() {
465
  Then <a href="https://wordpress.org/plugins/simple-history/">Simple History</a> is the plugin you need!
466
 
467
  <p class="cms_tpv_promo_above_wrapper-close">
468
- <a href="<?php echo add_query_arg("action", "cms_tpv_remove_promo")?>">
469
  <?php _e("Hide until next upgrade", 'cms-tree-page-view') ?>
470
  </a>
471
  </p>
@@ -1673,7 +1673,7 @@ function cms_tpv_add_page() {
1673
  // return editlink for the newly created page
1674
  $editLink = get_edit_post_link($newPostID, '');
1675
  if ($wpml_lang) {
1676
- $editLink = add_query_arg("lang", $wpml_lang, $editLink);
1677
  }
1678
  echo $editLink;
1679
  } else {
@@ -1836,7 +1836,7 @@ function cms_tpv_show_annoying_box() {
1836
  <p><?php printf(__('Please see the <a href="%1$s">support forum</a> for help.', 'cms-tree-page-view'), "http://wordpress.org/support/plugin/cms-tree-page-view") ?></p>
1837
 
1838
  <p class="cms_tpv_annoying_little_box_close">
1839
- <a href="<?php echo add_query_arg("action", "cms_tpv_remove_annoying_box")?>">
1840
  <?php _e("Hide until next upgrade", 'cms-tree-page-view') ?>
1841
  </a>
1842
  </p>
465
  Then <a href="https://wordpress.org/plugins/simple-history/">Simple History</a> is the plugin you need!
466
 
467
  <p class="cms_tpv_promo_above_wrapper-close">
468
+ <a href="<?php echo esc_url( add_query_arg("action", "cms_tpv_remove_promo") ) ?>">
469
  <?php _e("Hide until next upgrade", 'cms-tree-page-view') ?>
470
  </a>
471
  </p>
1673
  // return editlink for the newly created page
1674
  $editLink = get_edit_post_link($newPostID, '');
1675
  if ($wpml_lang) {
1676
+ $editLink = esc_url( add_query_arg("lang", $wpml_lang, $editLink) );
1677
  }
1678
  echo $editLink;
1679
  } else {
1836
  <p><?php printf(__('Please see the <a href="%1$s">support forum</a> for help.', 'cms-tree-page-view'), "http://wordpress.org/support/plugin/cms-tree-page-view") ?></p>
1837
 
1838
  <p class="cms_tpv_annoying_little_box_close">
1839
+ <a href="<?php echo esc_url( add_query_arg("action", "cms_tpv_remove_annoying_box") ) ?>">
1840
  <?php _e("Hide until next upgrade", 'cms-tree-page-view') ?>
1841
  </a>
1842
  </p>
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.31
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");
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.32
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.32");
31
  define( "CMS_TPV_NAME", "CMS Tree Page View");
32
 
33
  require(dirname(__FILE__) . "/functions.php");
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: eskapism, MarsApril
3
  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.8
6
- Tested up to: 3.9
7
- Stable tag: 1.2.31
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
 
@@ -115,6 +115,10 @@ Now the tree with the pages will be visible both on the dashboard and in the men
115
 
116
  == Changelog ==
117
 
 
 
 
 
118
  = 1.2.31 =
119
 
120
  - Fixed so existing pages/posts keep their original author and last modified time. Thanks Heikki Paananen for finding and fixing this.
3
  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.8
6
+ Tested up to: 4.2
7
+ Stable tag: 1.2.32
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
 
115
 
116
  == Changelog ==
117
 
118
+ = 1.2.32 =
119
+
120
+ - Fix for possible XSS attack.
121
+
122
  = 1.2.31 =
123
 
124
  - Fixed so existing pages/posts keep their original author and last modified time. Thanks Heikki Paananen for finding and fixing this.