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

Version Description

  • Release date: 2016-04-12
  • Fixed issue with information table and Layouts.
Download this release

Release Info

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

Code changes from version 2.0 to 2.0.1

application/controllers/information/controller.php CHANGED
@@ -22,7 +22,7 @@ class Types_Information_Controller {
22
 
23
  // special case: layouts active, but not compatible
24
  // the only case where we don't show the table
25
- if( defined( 'WPDDL_DEVELOPMENT' ) ) {
26
  $compatible = new Types_Helper_Condition_Layouts_Compatible();
27
  if( !$compatible->valid() ) {
28
  $data_files = array( TYPES_DATA . '/information/layouts-not-compatible.php' );
22
 
23
  // special case: layouts active, but not compatible
24
  // the only case where we don't show the table
25
+ if( defined( 'WPDDL_DEVELOPMENT' ) || defined( 'WPDDL_PRODUCTION' ) ) {
26
  $compatible = new Types_Helper_Condition_Layouts_Compatible();
27
  if( !$compatible->valid() ) {
28
  $data_files = array( TYPES_DATA . '/information/layouts-not-compatible.php' );
application/controllers/page/field_control.php CHANGED
@@ -171,7 +171,8 @@ final class Types_Page_Field_Control extends Types_Page_Abstract {
171
  'wp-admin',
172
  'common',
173
  'font-awesome',
174
- 'wpcf-css-embedded'
 
175
  )
176
  );
177
 
171
  'wp-admin',
172
  'common',
173
  'font-awesome',
174
+ 'wpcf-css-embedded',
175
+ 'wp-jquery-ui-dialog'
176
  )
177
  );
178
 
application/models/helper/condition/layouts/active.php CHANGED
@@ -4,7 +4,7 @@
4
  class Types_Helper_Condition_Layouts_Active extends Types_Helper_Condition {
5
 
6
  public function valid() {
7
- if( defined( 'WPDDL_DEVELOPMENT' ) )
8
  return true;
9
 
10
  return false;
4
  class Types_Helper_Condition_Layouts_Active extends Types_Helper_Condition {
5
 
6
  public function valid() {
7
+ if( defined( 'WPDDL_DEVELOPMENT' ) || defined( 'WPDDL_PRODUCTION' ) )
8
  return true;
9
 
10
  return false;
application/models/helper/placeholder.php CHANGED
@@ -83,7 +83,7 @@ class Types_Helper_Placeholder {
83
  }
84
 
85
  // Layouts specifics
86
- if( defined( 'WPDDL_DEVELOPMENT' ) ) {
87
  $placeholders = array_merge( $placeholders, array(
88
  //'%POST-CREATE-LAYOUT-TEMPLATE%' => self::get_post_create_layout_template(),
89
  '%POST-CREATE-LAYOUT-TEMPLATE%' => $admin_url . 'admin.php?page=types-helper&action=new-layout-template&type='.self::$post_type->name,
83
  }
84
 
85
  // Layouts specifics
86
+ if( defined( 'WPDDL_DEVELOPMENT' ) || defined( 'WPDDL_PRODUCTION' ) ) {
87
  $placeholders = array_merge( $placeholders, array(
88
  //'%POST-CREATE-LAYOUT-TEMPLATE%' => self::get_post_create_layout_template(),
89
  '%POST-CREATE-LAYOUT-TEMPLATE%' => $admin_url . 'admin.php?page=types-helper&action=new-layout-template&type='.self::$post_type->name,
readme.txt CHANGED
@@ -3,11 +3,11 @@ Contributors: AmirHelzer, brucepearson, christianglingener, jadpm, zaantar
3
  Donate link: http://wp-types.com
4
  Tags: CMS, custom field, custom fields, custom post type, custom post types, field, fields post, post type, post types, taxonomies, taxonomy, toolset
5
  Text Domain: wpcf
6
- Domain Path: /library/toolset/types/embedded/locale
7
  License: GPLv2
8
  Requires at least: 3.7
9
  Tested up to: 4.5
10
- Stable tag: 2.0
11
 
12
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
13
 
@@ -151,6 +151,11 @@ Additionally, Types is the only plugin that lets you define parent/child relatio
151
 
152
  == Changelog ==
153
 
 
 
 
 
 
154
  = 2.0 =
155
 
156
  * Release date: 2016-04-11
3
  Donate link: http://wp-types.com
4
  Tags: CMS, custom field, custom fields, custom post type, custom post types, field, fields post, post type, post types, taxonomies, taxonomy, toolset
5
  Text Domain: wpcf
6
+ Domain Path: /embedded/locale
7
  License: GPLv2
8
  Requires at least: 3.7
9
  Tested up to: 4.5
10
+ Stable tag: 2.0.1
11
 
12
  The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
13
 
151
 
152
  == Changelog ==
153
 
154
+ = 2.0.1 =
155
+
156
+ * Release date: 2016-04-12
157
+ * Fixed issue with information table and Layouts.
158
+
159
  = 2.0 =
160
 
161
  * Release date: 2016-04-11
wpcf.php CHANGED
@@ -5,7 +5,7 @@
5
  Description: Toolset Types defines custom content in WordPress. Easily create custom post types, fields and taxonomy and connect everything together.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
- Version: 2.0
9
  */
10
 
11
  // abort if called directly
@@ -14,7 +14,7 @@ if( !function_exists( 'add_action' ) )
14
 
15
  // version
16
  if( ! defined( 'TYPES_VERSION' ) )
17
- define( 'TYPES_VERSION', '2.0' );
18
 
19
  // backward compatibility
20
  if ( ! defined( 'WPCF_VERSION' ) )
5
  Description: Toolset Types defines custom content in WordPress. Easily create custom post types, fields and taxonomy and connect everything together.
6
  Author: OnTheGoSystems
7
  Author URI: http://www.onthegosystems.com
8
+ Version: 2.0.1
9
  */
10
 
11
  // abort if called directly
14
 
15
  // version
16
  if( ! defined( 'TYPES_VERSION' ) )
17
+ define( 'TYPES_VERSION', '2.0.1' );
18
 
19
  // backward compatibility
20
  if ( ! defined( 'WPCF_VERSION' ) )