Version Description
- Preventive measures for potential XSS security issues with add_query_arg()
Download this release
Release Info
Developer | tw2113 |
Plugin | Custom Post Type UI |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.7
- custom-post-type-ui.php +6 -6
- languages/cpt-plugin-de_DE.mo +0 -0
- readme.txt +8 -2
custom-post-type-ui.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Post Type UI
|
|
4 |
Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/
|
5 |
Description: Admin panel for creating custom post types and custom taxonomies in WordPress
|
6 |
Author: WebDevStudios
|
7 |
-
Version: 1.0.
|
8 |
Author URI: http://webdevstudios.com/
|
9 |
Text Domain: cpt-plugin
|
10 |
Domain Path: /languages
|
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
-
define( 'CPT_VERSION', '1.0.
|
20 |
define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
|
21 |
|
22 |
/**
|
@@ -510,20 +510,20 @@ function cptui_settings_tab_menu( $page = 'post_types' ) {
|
|
510 |
<a class="<?php echo $tab1; ?>" href="<?php echo admin_url( 'admin.php?page=cptui_manage_' . $page ); ?>"><?php _e( 'Add New Post Type', 'cpt-plugin' ); ?></a>
|
511 |
<?php
|
512 |
if ( $has ) { ?>
|
513 |
-
<a class="<?php echo $tab2; ?>" href="<?php echo add_query_arg( array( 'action' => 'edit' ), admin_url( 'admin.php?page=cptui_manage_' . $page ) ); ?>"><?php _e( 'Edit Post Types', 'cpt-plugin' ); ?></a>
|
514 |
<?php }
|
515 |
} elseif ( 'taxonomies' == $page ) {
|
516 |
?>
|
517 |
<a class="<?php echo $tab1; ?>" href="<?php echo admin_url( 'admin.php?page=cptui_manage_' . $page ); ?>"><?php _e( 'Add New Taxonomy', 'cpt-plugin' ); ?></a>
|
518 |
<?php
|
519 |
if ( $has ) { ?>
|
520 |
-
<a class="<?php echo $tab2; ?>" href="<?php echo add_query_arg( array( 'action' => 'edit' ), admin_url( 'admin.php?page=cptui_manage_' . $page ) ); ?>"><?php _e( 'Edit Taxonomies', 'cpt-plugin' ); ?></a>
|
521 |
<?php }
|
522 |
}
|
523 |
} else { ?>
|
524 |
<a class="<?php echo $tab1; ?>" href="<?php echo admin_url( 'admin.php?page=cptui_' . $page ); ?>"><?php _e( 'Post Types', 'cpt-plugin' ); ?></a>
|
525 |
-
<a class="<?php echo $tab2; ?>" href="<?php echo add_query_arg( array( 'action' => 'taxonomies' ), admin_url( 'admin.php?page=cptui_' . $page ) ); ?>"><?php _e( 'Taxonomies', 'cpt-plugin' ); ?></a>
|
526 |
-
<a class="<?php echo $tab3; ?>" href="<?php echo add_query_arg( array( 'action' => 'get_code' ), admin_url( 'admin.php?page=cptui_' . $page ) ); ?>"><?php _e( 'Get Code', 'cpt-plugin' ); ?></a>
|
527 |
<?php
|
528 |
}
|
529 |
|
4 |
Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/
|
5 |
Description: Admin panel for creating custom post types and custom taxonomies in WordPress
|
6 |
Author: WebDevStudios
|
7 |
+
Version: 1.0.7
|
8 |
Author URI: http://webdevstudios.com/
|
9 |
Text Domain: cpt-plugin
|
10 |
Domain Path: /languages
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
+
define( 'CPT_VERSION', '1.0.7' );
|
20 |
define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
|
21 |
|
22 |
/**
|
510 |
<a class="<?php echo $tab1; ?>" href="<?php echo admin_url( 'admin.php?page=cptui_manage_' . $page ); ?>"><?php _e( 'Add New Post Type', 'cpt-plugin' ); ?></a>
|
511 |
<?php
|
512 |
if ( $has ) { ?>
|
513 |
+
<a class="<?php echo $tab2; ?>" href="<?php echo esc_url( add_query_arg( array( 'action' => 'edit' ), admin_url( 'admin.php?page=cptui_manage_' . $page ) ) ); ?>"><?php _e( 'Edit Post Types', 'cpt-plugin' ); ?></a>
|
514 |
<?php }
|
515 |
} elseif ( 'taxonomies' == $page ) {
|
516 |
?>
|
517 |
<a class="<?php echo $tab1; ?>" href="<?php echo admin_url( 'admin.php?page=cptui_manage_' . $page ); ?>"><?php _e( 'Add New Taxonomy', 'cpt-plugin' ); ?></a>
|
518 |
<?php
|
519 |
if ( $has ) { ?>
|
520 |
+
<a class="<?php echo $tab2; ?>" href="<?php echo esc_url( add_query_arg( array( 'action' => 'edit' ), admin_url( 'admin.php?page=cptui_manage_' . $page ) ) ); ?>"><?php _e( 'Edit Taxonomies', 'cpt-plugin' ); ?></a>
|
521 |
<?php }
|
522 |
}
|
523 |
} else { ?>
|
524 |
<a class="<?php echo $tab1; ?>" href="<?php echo admin_url( 'admin.php?page=cptui_' . $page ); ?>"><?php _e( 'Post Types', 'cpt-plugin' ); ?></a>
|
525 |
+
<a class="<?php echo $tab2; ?>" href="<?php echo esc_url( add_query_arg( array( 'action' => 'taxonomies' ), admin_url( 'admin.php?page=cptui_' . $page ) ) ); ?>"><?php _e( 'Taxonomies', 'cpt-plugin' ); ?></a>
|
526 |
+
<a class="<?php echo $tab3; ?>" href="<?php echo esc_url( add_query_arg( array( 'action' => 'get_code' ), admin_url( 'admin.php?page=cptui_' . $page ) ) ); ?>"><?php _e( 'Get Code', 'cpt-plugin' ); ?></a>
|
527 |
<?php
|
528 |
}
|
529 |
|
languages/cpt-plugin-de_DE.mo
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: williamsba1, tw2113, webdevstudios
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3084056
|
4 |
Tags: custom post types, CPT, CMS, post, types, post type, cck, taxonomy, tax, custom
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.1
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2
|
9 |
|
10 |
Admin UI for creating custom post types and custom taxonomies in WordPress
|
@@ -37,6 +37,9 @@ Implied credit to:
|
|
37 |
|
38 |
== Changelog ==
|
39 |
|
|
|
|
|
|
|
40 |
= 1.0.6 =
|
41 |
* Change priority of post type registration function that was causing rewrite issues for many.
|
42 |
* Fix issues with help text spots not showing up for some post type fields. Props pedro-mendonca.
|
@@ -231,6 +234,9 @@ Implied credit to:
|
|
231 |
|
232 |
== Upgrade Notice ==
|
233 |
|
|
|
|
|
|
|
234 |
= 1.0.6 =
|
235 |
* Change priority of post type registration function that was causing rewrite issues for many.
|
236 |
* Fix issues with help text spots not showing up for some post type fields. Props pedro-mendonca.
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3084056
|
4 |
Tags: custom post types, CPT, CMS, post, types, post type, cck, taxonomy, tax, custom
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.1.1
|
7 |
+
Stable tag: 1.0.7
|
8 |
License: GPLv2
|
9 |
|
10 |
Admin UI for creating custom post types and custom taxonomies in WordPress
|
37 |
|
38 |
== Changelog ==
|
39 |
|
40 |
+
= 1.0.7 =
|
41 |
+
* Preventive measures for potential XSS security issues with add_query_arg()
|
42 |
+
|
43 |
= 1.0.6 =
|
44 |
* Change priority of post type registration function that was causing rewrite issues for many.
|
45 |
* Fix issues with help text spots not showing up for some post type fields. Props pedro-mendonca.
|
234 |
|
235 |
== Upgrade Notice ==
|
236 |
|
237 |
+
= 1.0.7 =
|
238 |
+
* Preventive measures for potential XSS security issues with add_query_arg()
|
239 |
+
|
240 |
= 1.0.6 =
|
241 |
* Change priority of post type registration function that was causing rewrite issues for many.
|
242 |
* Fix issues with help text spots not showing up for some post type fields. Props pedro-mendonca.
|