WordPress.org

Plugin Directory

Changeset 696892


Ignore:
Timestamp:
04/13/13 07:12:10 (12 months ago)
Author:
eskapism
Message:

version 1.2.10

Location:
cms-tree-page-view
Files:
3 edited
18 copied

Legend:

Unmodified
Added
Removed
  • cms-tree-page-view/tags/1.2.10/functions.php

    r696711 r696892  
    12491249            } 
    12501250             
    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  
    12631251            $title = get_the_title($onePage->ID); // so hooks and stuff will do their work 
    12641252            if (empty($title)) { 
    12651253                $title = __("<Untitled page>", 'cms-tree-page-view'); 
    12661254            } 
    1267             $title = esc_html($title); 
    12681255 
    12691256            $arr_page_css_styles = array(); 
     
    13351322            { 
    13361323                "data": { 
    1337                     "title": "<?php echo $title ?>", 
     1324                    "title": <?php echo json_encode($title) ?>, 
    13381325                    "attr": { 
    13391326                        "href": "<?php echo $editLink ?>" 
     
    13651352                    "user_can_add_page_inside": "<?php echo (int) $user_can_add_inside ?>", 
    13661353                    "user_can_add_page_after": "<?php echo (int) $user_can_add_after ?>", 
    1367                     "post_title": "<?php echo $title ?>" 
     1354                    "post_title": <?php echo json_encode($title) ?> 
    13681355                } 
    13691356                <?php 
  • cms-tree-page-view/tags/1.2.10/index.php

    r696711 r696892  
    44Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/ 
    55Description: 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 
     6Version: 1.2.10 
    77Author: Pär Thernström 
    88Author URI: http://eskapism.se/ 
     
    2828#require("functions.php"); 
    2929 
    30 define( "CMS_TPV_VERSION", "1.2.9"); 
     30define( "CMS_TPV_VERSION", "1.2.10"); 
    3131define( "CMS_TPV_NAME", "CMS Tree Page View"); 
    3232 
  • cms-tree-page-view/tags/1.2.10/readme.txt

    r696711 r696892  
    55Requires at least: 3.5.1 
    66Tested up to: 3.5.1 
    7 Stable tag: 1.2.9 
     7Stable tag: 1.2.10 
    88 
    99Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages. 
     
    112112== Changelog == 
    113113 
     114= 1.2.10 = 
     115- New fix for wp-Typography. Thanks to eceleste for digging into the problem and fixing it.  
     116 
    114117= 1.2.9 = 
    115118- Fixed an incompatibility with wp-Typography (http://wordpress.org/extend/plugins/wp-typography/). Fixes http://wordpress.org/support/topic/html-in-titles. 
  • cms-tree-page-view/trunk/functions.php

    r696711 r696892  
    12491249            } 
    12501250             
    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  
    12631251            $title = get_the_title($onePage->ID); // so hooks and stuff will do their work 
    12641252            if (empty($title)) { 
    12651253                $title = __("<Untitled page>", 'cms-tree-page-view'); 
    12661254            } 
    1267             $title = esc_html($title); 
    12681255 
    12691256            $arr_page_css_styles = array(); 
     
    13351322            { 
    13361323                "data": { 
    1337                     "title": "<?php echo $title ?>", 
     1324                    "title": <?php echo json_encode($title) ?>, 
    13381325                    "attr": { 
    13391326                        "href": "<?php echo $editLink ?>" 
     
    13651352                    "user_can_add_page_inside": "<?php echo (int) $user_can_add_inside ?>", 
    13661353                    "user_can_add_page_after": "<?php echo (int) $user_can_add_after ?>", 
    1367                     "post_title": "<?php echo $title ?>" 
     1354                    "post_title": <?php echo json_encode($title) ?> 
    13681355                } 
    13691356                <?php 
  • cms-tree-page-view/trunk/index.php

    r696711 r696892  
    44Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/ 
    55Description: 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 
     6Version: 1.2.10 
    77Author: Pär Thernström 
    88Author URI: http://eskapism.se/ 
     
    2828#require("functions.php"); 
    2929 
    30 define( "CMS_TPV_VERSION", "1.2.9"); 
     30define( "CMS_TPV_VERSION", "1.2.10"); 
    3131define( "CMS_TPV_NAME", "CMS Tree Page View"); 
    3232 
  • cms-tree-page-view/trunk/readme.txt

    r696711 r696892  
    55Requires at least: 3.5.1 
    66Tested up to: 3.5.1 
    7 Stable tag: 1.2.9 
     7Stable tag: 1.2.10 
    88 
    99Adds a tree view of all pages & custom posts. Get a great overview + options to drag & drop to reorder & option to add multiple pages. 
     
    112112== Changelog == 
    113113 
     114= 1.2.10 = 
     115- New fix for wp-Typography. Thanks to eceleste for digging into the problem and fixing it.  
     116 
    114117= 1.2.9 = 
    115118- Fixed an incompatibility with wp-Typography (http://wordpress.org/extend/plugins/wp-typography/). Fixes http://wordpress.org/support/topic/html-in-titles. 
Note: See TracChangeset for help on using the changeset viewer.