WordPress.org

Plugin Directory

Changeset 425013


Ignore:
Timestamp:
08/17/11 19:04:04 (3 years ago)
Author:
williamsba1
Message:

Fixed XSS security bug (props Duck)

Location:
custom-post-type-ui/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • custom-post-type-ui/trunk/custom-post-type-ui.php

    r351289 r425013  
    55Description: Admin panel for creating custom post types and custom taxonomies in WordPress 
    66Author: WebDevStudios.com 
    7 Version: 0.7 
     7Version: 0.7.1 
    88Author URI: http://webdevstudios.com/ 
    99*/ 
    1010 
    1111// Define current version constant 
    12 define( 'CPT_VERSION', '0.7' ); 
     12define( 'CPT_VERSION', '0.7.1' ); 
    1313 
    1414// Define plugin URL constant 
     
    478478        </p> 
    479479        <p>Q: <strong>How can I add custom meta boxes to my custom post types?</strong></p> 
    480         <p>A: The Custom Field Template plugin does a great job at creating custom meta boxes and fully supports custom post types: <a href="http://wordpress.org/extend/plugins/custom-field-template/" target="_blank">http://wordpress.org/extend/plugins/custom-field-template/</a></p> 
     480        <p>A: The More Fields plugin does a great job at creating custom meta boxes and fully supports custom post types: <a href="http://wordpress.org/extend/plugins/more-fields/" target="_blank">http://wordpress.org/extend/plugins/more-fields/</a></p> 
    481481        <p>Q: <strong>I changed my custom post type name and now I can't get to my posts</strong></p> 
    482482        <p>A: You can either change the custom post type name back to the original name or try the Post Type Switcher plugin: <a href="http://wordpress.org/extend/plugins/post-type-switcher/" target="_blank">http://wordpress.org/extend/plugins/post-type-switcher/</a></p> 
     
    14651465    global $CPT_URL; 
    14661466 
    1467     If($return=='cpt') { 
    1468         return ( isset( $_GET['return'] ) ) ? admin_url('admin.php?page=cpt_sub_manage_cpt&return='.$_GET['return']) : admin_url('admin.php?page=cpt_sub_manage_cpt'); 
    1469     }Elseif($return=='tax'){ 
    1470         return ( isset( $_GET['return'] ) ) ? admin_url('admin.php?page=cpt_sub_manage_taxonomies&return='.$_GET['return']) : admin_url('admin.php?page=cpt_sub_manage_taxonomies'); 
    1471     }Elseif($return=='add') { 
    1472         return admin_url('admin.php?page=cpt_sub_add_new'); 
     1467    If( $return=='cpt' ) { 
     1468        return ( isset( $_GET['return'] ) ) ? admin_url( 'admin.php?page=cpt_sub_manage_cpt&return=cpt' ) : admin_url( 'admin.php?page=cpt_sub_manage_cpt' ); 
     1469    }Elseif( $return=='tax' ){ 
     1470        return ( isset( $_GET['return'] ) ) ? admin_url( 'admin.php?page=cpt_sub_manage_taxonomies&return=tax' ) : admin_url( 'admin.php?page=cpt_sub_manage_taxonomies' ); 
     1471    }Elseif( $return=='add' ) { 
     1472        return admin_url( 'admin.php?page=cpt_sub_add_new' ); 
    14731473    }Else{ 
    1474         return admin_url('admin.php?page=cpt_sub_add_new'); 
     1474        return admin_url( 'admin.php?page=cpt_sub_add_new' ); 
    14751475    } 
    14761476} 
  • custom-post-type-ui/trunk/readme.txt

    r351237 r425013  
    44Tags: custom post types, CMS, post, types, post type, cck, taxonomy, tax 
    55Requires at least: 3.0 
    6 Tested up to: 3.1 
    7 Stable tag: 0.7 
     6Tested up to: 3.2.1 
     7Stable tag: 0.7.1 
    88 
    99Admin UI for creating custom post types and custom taxonomies in WordPress 
     
    2525 
    2626== Changelog == 
     27 
     28= 0.7.1 = 
     29* Fixed XSS security bug (props Duck) 
    2730 
    2831= 0.7 = 
     
    105108== Upgrade Notice == 
    106109 
     110= 0.7.1 = 
     111* XSS security bug patched 
     112 
    107113= 0.7 = 
    108114* WordPress 3.1 support 
     
    188194= How can I add custom meta boxes to my custom post types? = 
    189195 
    190 The Custom Field Template plugin does a great job at creating custom meta boxes and fully supports custom post types: http://wordpress.org/extend/plugins/custom-field-template/ 
     196The More Fields plugin does a great job at creating custom meta boxes and fully supports custom post types: http://wordpress.org/extend/plugins/more-fields/ 
    191197 
    192198= I changed my custom post type name and now I can't get to my posts = 
Note: See TracChangeset for help on using the changeset viewer.