Version Description
- Release date: 2015-06-23
- Field a problem with "file type" field on post edit screen when is no WYSIWYG editor. https://wordpress.org/support/topic/image-field-not-working-1
Download this release
Release Info
Developer | iworks |
Plugin | Toolset Types – Custom Post Types, Custom Fields and Taxonomies |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
- embedded/bootstrap.php +1 -1
- embedded/common/toolset-forms/classes/class.file.php +1 -1
- embedded/plugin.php +1 -1
- readme.txt +7 -3
- wpcf.php +2 -2
embedded/bootstrap.php
CHANGED
@@ -133,7 +133,7 @@ function wpcf_embedded_init() {
|
|
133 |
// Define necessary constants if plugin is not present
|
134 |
// This ones are skipped if used as embedded code!
|
135 |
if ( !defined( 'WPCF_VERSION' ) ) {
|
136 |
-
define( 'WPCF_VERSION', '1.7.
|
137 |
define( 'WPCF_META_PREFIX', 'wpcf-' );
|
138 |
}
|
139 |
|
133 |
// Define necessary constants if plugin is not present
|
134 |
// This ones are skipped if used as embedded code!
|
135 |
if ( !defined( 'WPCF_VERSION' ) ) {
|
136 |
+
define( 'WPCF_VERSION', '1.7.2' );
|
137 |
define( 'WPCF_META_PREFIX', 'wpcf-' );
|
138 |
}
|
139 |
|
embedded/common/toolset-forms/classes/class.file.php
CHANGED
@@ -42,7 +42,7 @@ class WPToolset_Field_File extends WPToolset_Field_Textfield
|
|
42 |
wp_enqueue_media();
|
43 |
}
|
44 |
|
45 |
-
if (isset($screen->post_type) &&
|
46 |
global $post;
|
47 |
if ( is_object($post) ) {
|
48 |
wp_enqueue_media(array('post' => $post->ID));
|
42 |
wp_enqueue_media();
|
43 |
}
|
44 |
|
45 |
+
if (isset($screen->post_type) && isset($screen->base) && 'post' == $screen->base) {
|
46 |
global $post;
|
47 |
if ( is_object($post) ) {
|
48 |
wp_enqueue_media(array('post' => $post->ID));
|
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.7.
|
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.7.2
|
9 |
*/
|
10 |
/**
|
11 |
*
|
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.2.2
|
8 |
-
Stable tag: 1.7.
|
9 |
|
10 |
The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
|
11 |
|
@@ -155,13 +155,17 @@ Additionally, Types is the only plugin that lets you define parent/child relatio
|
|
155 |
|
156 |
== Changelog ==
|
157 |
|
|
|
|
|
|
|
|
|
|
|
158 |
= 1.7.1 =
|
159 |
-
* Release date: 2015-06-22
|
160 |
|
|
|
161 |
* Fixed a problem with constant ICL_SITEPRESS_VERSION https://wordpress.org/support/topic/types-17-notice-undefined-constant-icl_sitepress_version
|
162 |
* Field a problem with "file type" field on user profile screen. https://wordpress.org/support/topic/image-field-not-working-1
|
163 |
|
164 |
-
|
165 |
= 1.7 =
|
166 |
|
167 |
* Release date: 2015-06-15
|
5 |
License: GPLv2
|
6 |
Requires at least: 3.4
|
7 |
Tested up to: 4.2.2
|
8 |
+
Stable tag: 1.7.2
|
9 |
|
10 |
The complete and reliable plugin for managing custom post types, custom taxonomies and custom fields.
|
11 |
|
155 |
|
156 |
== Changelog ==
|
157 |
|
158 |
+
= 1.7.2 =
|
159 |
+
|
160 |
+
* Release date: 2015-06-23
|
161 |
+
* Field a problem with "file type" field on post edit screen when is no WYSIWYG editor. https://wordpress.org/support/topic/image-field-not-working-1
|
162 |
+
|
163 |
= 1.7.1 =
|
|
|
164 |
|
165 |
+
* Release date: 2015-06-22
|
166 |
* Fixed a problem with constant ICL_SITEPRESS_VERSION https://wordpress.org/support/topic/types-17-notice-undefined-constant-icl_sitepress_version
|
167 |
* Field a problem with "file type" field on user profile screen. https://wordpress.org/support/topic/image-field-not-working-1
|
168 |
|
|
|
169 |
= 1.7 =
|
170 |
|
171 |
* Release date: 2015-06-15
|
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.7.
|
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.7.
|
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.7.2
|
9 |
*/
|
10 |
/**
|
11 |
*
|
16 |
/**
|
17 |
* make sure that WPCF_VERSION in embedded/bootstrap.php is the same!
|
18 |
*/
|
19 |
+
define( 'WPCF_VERSION', '1.7.2' );
|
20 |
}
|
21 |
|
22 |
define( 'WPCF_REPOSITORY', 'http://api.wp-types.com/' );
|