Toolset Types – Custom Post Types, Custom Fields and Taxonomies - Version 1.8.3

Version Description

  • Release date: 2015-08-31
  • Fixed a problem with saving child posts when author role is "Author".
Download this release

Release Info

Developer iworks
Plugin Icon 128x128 Toolset Types – Custom Post Types, Custom Fields and Taxonomies
Version 1.8.3
Comparing to
See all releases

Code changes from version 1.8.1 to 1.8.3

embedded/bootstrap.php CHANGED
@@ -156,7 +156,7 @@ function wpcf_embedded_init() {
156
  // Define necessary constants if plugin is not present
157
  // This ones are skipped if used as embedded code!
158
  if ( !defined( 'WPCF_VERSION' ) ) {
159
- define( 'WPCF_VERSION', '1.8.1' );
160
  define( 'WPCF_META_PREFIX', 'wpcf-' );
161
  }
162
 
156
  // Define necessary constants if plugin is not present
157
  // This ones are skipped if used as embedded code!
158
  if ( !defined( 'WPCF_VERSION' ) ) {
159
+ define( 'WPCF_VERSION', '1.8.3' );
160
  define( 'WPCF_META_PREFIX', 'wpcf-' );
161
  }
162
 
embedded/includes/post-relationship.php CHANGED
@@ -574,11 +574,9 @@ function wpcf_pr_admin_wpcf_relationship_search()
574
 
575
  $args = array(
576
  'numberposts' => $numberposts,
577
- // 'orderby' => apply_filters( 'wpcf_pr_belongs_post_orderby', 'date' ),
578
- // 'order' => apply_filters( 'wpcf_pr_belongs_post_order', 'ASC' ),
579
  'post_status' => apply_filters( 'wpcf_pr_belongs_post_status', array( 'publish', 'private' ) ),
580
  'post_type' => $_REQUEST['post_type'],
581
- 'suppress_filters' => 0,
582
  's' => $_REQUEST['s'],
583
  );
584
 
574
 
575
  $args = array(
576
  'numberposts' => $numberposts,
 
 
577
  'post_status' => apply_filters( 'wpcf_pr_belongs_post_status', array( 'publish', 'private' ) ),
578
  'post_type' => $_REQUEST['post_type'],
579
+ 'suppress_filters' => 1,
580
  's' => $_REQUEST['s'],
581
  );
582
 
embedded/plugin.php CHANGED
@@ -5,7 +5,7 @@
5
  Description: Define custom post types, custom taxonomies and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
- Version: 1.8.1
9
  */
10
  /**
11
  *
5
  Description: Define custom post types, custom taxonomies and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
+ Version: 1.8.3
9
  */
10
  /**
11
  *
includes/ajax.php CHANGED
@@ -94,8 +94,6 @@ function wpcf_ajax()
94
  die;
95
  }
96
  break;
97
- break;
98
- /*
99
  case 'user_fields_control_bulk':
100
  case 'usermeta_delete':
101
  case 'delete_usermeta':
@@ -117,8 +115,6 @@ function wpcf_ajax()
117
  case 'pt_edit_fields':
118
  case 'toggle':
119
  case 'cb_save_empty_migrate':
120
- */
121
- default:
122
  if ( !current_user_can('manage_options') ) {
123
  echo json_encode(
124
  array(
@@ -127,6 +123,11 @@ function wpcf_ajax()
127
  );
128
  die;
129
  }
 
 
 
 
 
130
  }
131
 
132
  /**
94
  die;
95
  }
96
  break;
 
 
97
  case 'user_fields_control_bulk':
98
  case 'usermeta_delete':
99
  case 'delete_usermeta':
115
  case 'pt_edit_fields':
116
  case 'toggle':
117
  case 'cb_save_empty_migrate':
 
 
118
  if ( !current_user_can('manage_options') ) {
119
  echo json_encode(
120
  array(
123
  );
124
  die;
125
  }
126
+ /**
127
+ * do not check actions from other places
128
+ */
129
+ default:
130
+ return;
131
  }
132
 
133
  /**
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: CMS, custom field, custom fields, custom post type, custom post types, fie
5
  License: GPLv2
6
  Requires at least: 3.4
7
  Tested up to: 4.3
8
- Stable tag: 1.8.1
9
 
10
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
11
 
@@ -155,9 +155,19 @@ Additionally, Types is the only plugin that lets you define parent/child relatio
155
 
156
  == Changelog ==
157
 
 
 
 
 
 
 
 
 
 
 
158
  = 1.8.1 =
159
 
160
- * Release date: 2015-08-2517
161
  * Fixed a problem with select2 and new child posts.
162
 
163
  = 1.8 =
5
  License: GPLv2
6
  Requires at least: 3.4
7
  Tested up to: 4.3
8
+ Stable tag: 1.8.3
9
 
10
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
11
 
155
 
156
  == Changelog ==
157
 
158
+ = 1.8.3 =
159
+
160
+ * Release date: 2015-08-31
161
+ * Fixed a problem with saving child posts when author role is "Author".
162
+
163
+ = 1.8.2 =
164
+
165
+ * Release date: 2015-08-27
166
+ * Fixed a problem with selecting child post Events from Event Calendar when evens are "expired".
167
+
168
  = 1.8.1 =
169
 
170
+ * Release date: 2015-08-25
171
  * Fixed a problem with select2 and new child posts.
172
 
173
  = 1.8 =
wpcf.php CHANGED
@@ -5,7 +5,7 @@
5
  Description: Define custom post types, custom taxonomies and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
- Version: 1.8.1
9
  */
10
  /**
11
  *
@@ -16,7 +16,7 @@ if ( !defined( 'WPCF_VERSION' ) ) {
16
  /**
17
  * make sure that WPCF_VERSION in embedded/bootstrap.php is the same!
18
  */
19
- define( 'WPCF_VERSION', '1.8.1' );
20
  }
21
 
22
  define( 'WPCF_REPOSITORY', 'http://api.wp-types.com/' );
5
  Description: Define custom post types, custom taxonomies and custom fields.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
+ Version: 1.8.3
9
  */
10
  /**
11
  *
16
  /**
17
  * make sure that WPCF_VERSION in embedded/bootstrap.php is the same!
18
  */
19
+ define( 'WPCF_VERSION', '1.8.3' );
20
  }
21
 
22
  define( 'WPCF_REPOSITORY', 'http://api.wp-types.com/' );