Version Description
Release Date: November 7th, 2017
- Major Fix Fixed slash error and added extra condition to check for response
Download this release
Release Info
Developer | mlehelsz |
Plugin | Contact Form 7 Style |
Version | 3.1.6 |
Comparing to | |
See all releases |
Code changes from version 3.1.5 to 3.1.6
- cf7-style.php +2 -2
- inc/init_style.php +2 -1
- plugin-options.php +4 -1
- readme.txt +10 -4
cf7-style.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Contact Form 7 Style
|
4 |
Plugin URI: http://wordpress.reea.net/contact-form-7-style/
|
5 |
Description: Simple style customization and templating for Contact Form 7 forms. Requires Contact Form 7 plugin installed.
|
6 |
-
Version: 3.1.
|
7 |
Author: Johnny, dorumarginean, mlehelsz, MirceaR
|
8 |
Author URI: http://cf7style.com
|
9 |
License: GPL2
|
@@ -20,7 +20,7 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
20 |
define( 'WPCF7S_PLUGIN', __FILE__ );
|
21 |
define( 'WPCF7S_PLUGIN_DIR', untrailingslashit( dirname( WPCF7S_PLUGIN ) ) );
|
22 |
define( 'WPCF7S_LOCATION',plugin_dir_url( WPCF7S_PLUGIN ) );
|
23 |
-
define( 'WPCF7S_PLUGIN_VER', '3.1.
|
24 |
define( 'WPCF7S_REQ_PLUGIN', 'contact-form-7/wp-contact-form-7.php' );
|
25 |
|
26 |
/*
|
3 |
Plugin Name: Contact Form 7 Style
|
4 |
Plugin URI: http://wordpress.reea.net/contact-form-7-style/
|
5 |
Description: Simple style customization and templating for Contact Form 7 forms. Requires Contact Form 7 plugin installed.
|
6 |
+
Version: 3.1.6
|
7 |
Author: Johnny, dorumarginean, mlehelsz, MirceaR
|
8 |
Author URI: http://cf7style.com
|
9 |
License: GPL2
|
20 |
define( 'WPCF7S_PLUGIN', __FILE__ );
|
21 |
define( 'WPCF7S_PLUGIN_DIR', untrailingslashit( dirname( WPCF7S_PLUGIN ) ) );
|
22 |
define( 'WPCF7S_LOCATION',plugin_dir_url( WPCF7S_PLUGIN ) );
|
23 |
+
define( 'WPCF7S_PLUGIN_VER', '3.1.6' );
|
24 |
define( 'WPCF7S_REQ_PLUGIN', 'contact-form-7/wp-contact-form-7.php' );
|
25 |
|
26 |
/*
|
inc/init_style.php
CHANGED
@@ -12,7 +12,8 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
12 |
|
13 |
function get_predefined_cf7_style_template_data() {
|
14 |
$request_json = wp_remote_get( WPCF7S_LOCATION.'admin/predefined-templates.json' );
|
15 |
-
|
|
|
16 |
require WPCF7S_PLUGIN_DIR.'/admin/predefined_tpls.php';
|
17 |
$templates = json_decode( $tpl_string, true );
|
18 |
return $templates;
|
12 |
|
13 |
function get_predefined_cf7_style_template_data() {
|
14 |
$request_json = wp_remote_get( WPCF7S_LOCATION.'admin/predefined-templates.json' );
|
15 |
+
|
16 |
+
if ( is_wp_error( $request_json ) || ( array_key_exists('response', $request_json ) && $request_json['response']['code'] != '200' ) ) {
|
17 |
require WPCF7S_PLUGIN_DIR.'/admin/predefined_tpls.php';
|
18 |
$templates = json_decode( $tpl_string, true );
|
19 |
return $templates;
|
plugin-options.php
CHANGED
@@ -6,12 +6,15 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
6 |
|
7 |
$request_json = wp_remote_get( WPCF7S_LOCATION.'admin/settings-setup.json' );
|
8 |
|
9 |
-
if ( is_wp_error( $request_json ) ) {
|
10 |
require WPCF7S_PLUGIN_DIR.'/admin/settings_setup.php';
|
11 |
$options = json_decode( $setting_str, true );
|
12 |
} else {
|
13 |
$options = json_decode( wp_remote_retrieve_body( $request_json ) , true);
|
14 |
}
|
|
|
|
|
|
|
15 |
/**
|
16 |
* Generate property fields
|
17 |
*/
|
6 |
|
7 |
$request_json = wp_remote_get( WPCF7S_LOCATION.'admin/settings-setup.json' );
|
8 |
|
9 |
+
if ( is_wp_error( $request_json ) || ( array_key_exists('response', $request_json ) && $request_json['response']['code'] != '200' ) ) {
|
10 |
require WPCF7S_PLUGIN_DIR.'/admin/settings_setup.php';
|
11 |
$options = json_decode( $setting_str, true );
|
12 |
} else {
|
13 |
$options = json_decode( wp_remote_retrieve_body( $request_json ) , true);
|
14 |
}
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
/**
|
19 |
* Generate property fields
|
20 |
*/
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: ionut.iclanzan, dorumarginean, mlehelsz, mircear
|
|
3 |
Donate link: http://cf7style.com/back-this-project/
|
4 |
Tags: contact form 7, contact form 7 style, contact form 7 templates, contact form 7 styling, CF7, CF7 style, styling contact form, styling contact form 7, multiple form styling, custom form styling, CF7 addon, customize, templates, valentine's day templates, Christmas templates, manual styling, live preview, hover state styling, CF7 form messages styling
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 3.1.
|
8 |
Requires PHP: 5.6.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -76,6 +76,12 @@ Please check our FAQ page where you'll find answers to some of your questions on
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
= 3.1.5 =
|
80 |
|
81 |
Release Date: November 6th, 2017
|
@@ -259,6 +265,6 @@ Release Date: November 3rd, 2017
|
|
259 |
* First plugin version.
|
260 |
|
261 |
== Upgrade Notice ==
|
262 |
-
= Contact Form 7 Style Version 3.1.
|
263 |
|
264 |
-
* [Major Fix](https://wordpress.org/support/topic/
|
3 |
Donate link: http://cf7style.com/back-this-project/
|
4 |
Tags: contact form 7, contact form 7 style, contact form 7 templates, contact form 7 styling, CF7, CF7 style, styling contact form, styling contact form 7, multiple form styling, custom form styling, CF7 addon, customize, templates, valentine's day templates, Christmas templates, manual styling, live preview, hover state styling, CF7 form messages styling
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 4.9
|
7 |
+
Stable tag: 3.1.6
|
8 |
Requires PHP: 5.6.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
+
= 3.1.6 =
|
80 |
+
|
81 |
+
Release Date: November 7th, 2017
|
82 |
+
|
83 |
+
* [Major Fix](https://wordpress.org/support/topic/u-have-a-problem-with-ure-update/) Fixed slash error and added extra condition to check for response
|
84 |
+
|
85 |
= 3.1.5 =
|
86 |
|
87 |
Release Date: November 6th, 2017
|
265 |
* First plugin version.
|
266 |
|
267 |
== Upgrade Notice ==
|
268 |
+
= Contact Form 7 Style Version 3.1.6 =
|
269 |
|
270 |
+
* [Major Fix](https://wordpress.org/support/topic/u-have-a-problem-with-ure-update/) Fixed slash error and added extra condition to check for response
|