Version Description
- Bug - Rollback recent changes that introduced the GFAPI as introduces errors for older versions of Gravity Forms. Will reintroduce in next major release and increase the minimum Gravity Forms version.
Download this release
Release Info
Developer | Blue Liquid Designs |
Plugin | Gravity PDF |
Version | 3.5.9 |
Comparing to | |
See all releases |
Code changes from version 3.5.8 to 3.5.9
- README.txt +5 -2
- helper/pdf-common.php +2 -7
- model/pdf.php +4 -4
- model/settings.php +1 -1
- pdf.php +2 -2
- view/templates/settings/changelog.php +5 -0
README.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: blueliquiddesigns
|
|
3 |
Donate link: http://www.gravityformspdfextended.com
|
4 |
Tags: gravity, forms, pdf, automation, attachment
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 3.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -81,6 +81,9 @@ All FAQs can be [viewed on the Gravity Forms PDF Extended website](http://gravit
|
|
81 |
|
82 |
== Changelog ==
|
83 |
|
|
|
|
|
|
|
84 |
= 3.5.8 =
|
85 |
* Bug - Fixed issue affected some users where a depreciated function was causing a fatal error
|
86 |
|
3 |
Donate link: http://www.gravityformspdfextended.com
|
4 |
Tags: gravity, forms, pdf, automation, attachment
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 4.0
|
7 |
+
Stable tag: 3.5.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
81 |
|
82 |
== Changelog ==
|
83 |
|
84 |
+
= 3.5.9 =
|
85 |
+
* Bug - Rollback recent changes that introduced the GFAPI as introduces errors for older versions of Gravity Forms. Will reintroduce in next major release and increase the minimum Gravity Forms version.
|
86 |
+
|
87 |
= 3.5.8 =
|
88 |
* Bug - Fixed issue affected some users where a depreciated function was causing a fatal error
|
89 |
|
helper/pdf-common.php
CHANGED
@@ -119,13 +119,8 @@ class PDF_Common
|
|
119 |
/*
|
120 |
* Get form and lead data
|
121 |
*/
|
122 |
-
$form =
|
123 |
-
$lead =
|
124 |
-
|
125 |
-
if(is_wp_error($form) || is_wp_error($lead))
|
126 |
-
{
|
127 |
-
return $string;
|
128 |
-
}
|
129 |
|
130 |
return trim(GFCommon::replace_variables($string, $form, $lead, false, false, false));
|
131 |
}
|
119 |
/*
|
120 |
* Get form and lead data
|
121 |
*/
|
122 |
+
$form = RGFormsModel::get_form_meta($form_id);
|
123 |
+
$lead = RGFormsModel::get_lead($lead_id);
|
|
|
|
|
|
|
|
|
|
|
124 |
|
125 |
return trim(GFCommon::replace_variables($string, $form, $lead, false, false, false));
|
126 |
}
|
model/pdf.php
CHANGED
@@ -20,8 +20,8 @@ class GFPDF_Core_Model
|
|
20 |
|
21 |
if($form_id)
|
22 |
{
|
23 |
-
$form_info =
|
24 |
-
$is_valid_form = $form_info && $form_info
|
25 |
|
26 |
if($is_valid_form)
|
27 |
{
|
@@ -599,8 +599,8 @@ class GFPDF_Core_Model
|
|
599 |
$rtl = (isset($config['rtl'])) ? $config['rtl'] : false;
|
600 |
|
601 |
|
602 |
-
$form =
|
603 |
-
$lead =
|
604 |
|
605 |
/*
|
606 |
* Run the options through filters
|
20 |
|
21 |
if($form_id)
|
22 |
{
|
23 |
+
$form_info = RGFormsModel::get_form($form_id);
|
24 |
+
$is_valid_form = $form_info && $form_info->is_active;
|
25 |
|
26 |
if($is_valid_form)
|
27 |
{
|
599 |
$rtl = (isset($config['rtl'])) ? $config['rtl'] : false;
|
600 |
|
601 |
|
602 |
+
$form = RGFormsModel::get_form_meta($form_id);
|
603 |
+
$lead = RGFormsModel::get_lead($lead_id);
|
604 |
|
605 |
/*
|
606 |
* Run the options through filters
|
model/settings.php
CHANGED
@@ -124,7 +124,7 @@ class GFPDF_Settings_Model extends GFPDF_Settings
|
|
124 |
if(class_exists('GFCommon'))
|
125 |
{
|
126 |
$gfpdfe_data->gf_installed = true;
|
127 |
-
$gfpdfe_data->gf_version =
|
128 |
|
129 |
if(version_compare($gfpdfe_data->gf_version, GF_PDF_EXTENDED_SUPPORTED_VERSION, '>=') === true)
|
130 |
{
|
124 |
if(class_exists('GFCommon'))
|
125 |
{
|
126 |
$gfpdfe_data->gf_installed = true;
|
127 |
+
$gfpdfe_data->gf_version = GFCommon::$version;
|
128 |
|
129 |
if(version_compare($gfpdfe_data->gf_version, GF_PDF_EXTENDED_SUPPORTED_VERSION, '>=') === true)
|
130 |
{
|
pdf.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Gravity Forms PDF Extended
|
5 |
Plugin URI: http://www.gravityformspdfextended.com
|
6 |
Description: Gravity Forms PDF Extended allows you to save/view/download a PDF from the front- and back-end, and automate PDF creation on form submission. Our Business Plus package also allows you to overlay field onto an existing PDF.
|
7 |
-
Version: 3.5.
|
8 |
Author: Blue Liquid Designs
|
9 |
Author URI: http://www.blueliquiddesigns.com.au
|
10 |
|
@@ -33,7 +33,7 @@ GNU General Public License for more details.
|
|
33 |
/*
|
34 |
* Define our constants
|
35 |
*/
|
36 |
-
define('PDF_EXTENDED_VERSION', '3.5.
|
37 |
define('GF_PDF_EXTENDED_SUPPORTED_VERSION', '1.7');
|
38 |
define('GF_PDF_EXTENDED_WP_SUPPORTED_VERSION', '3.5');
|
39 |
define('GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION', '5');
|
4 |
Plugin Name: Gravity Forms PDF Extended
|
5 |
Plugin URI: http://www.gravityformspdfextended.com
|
6 |
Description: Gravity Forms PDF Extended allows you to save/view/download a PDF from the front- and back-end, and automate PDF creation on form submission. Our Business Plus package also allows you to overlay field onto an existing PDF.
|
7 |
+
Version: 3.5.9
|
8 |
Author: Blue Liquid Designs
|
9 |
Author URI: http://www.blueliquiddesigns.com.au
|
10 |
|
33 |
/*
|
34 |
* Define our constants
|
35 |
*/
|
36 |
+
define('PDF_EXTENDED_VERSION', '3.5.9');
|
37 |
define('GF_PDF_EXTENDED_SUPPORTED_VERSION', '1.7');
|
38 |
define('GF_PDF_EXTENDED_WP_SUPPORTED_VERSION', '3.5');
|
39 |
define('GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION', '5');
|
view/templates/settings/changelog.php
CHANGED
@@ -21,6 +21,11 @@
|
|
21 |
<p><strong>Current Version: <?php echo PDF_EXTENDED_VERSION; ?></strong></p>
|
22 |
|
23 |
<h3><?php echo PDF_EXTENDED_VERSION; ?></h3>
|
|
|
|
|
|
|
|
|
|
|
24 |
<ul>
|
25 |
<li>Bug - Fixed issue affected some users where a depreciated function was causing a fatal error </li>
|
26 |
</ul>
|
21 |
<p><strong>Current Version: <?php echo PDF_EXTENDED_VERSION; ?></strong></p>
|
22 |
|
23 |
<h3><?php echo PDF_EXTENDED_VERSION; ?></h3>
|
24 |
+
<ul>
|
25 |
+
<li>Bug - Rollback recent changes that introduced the GFAPI as introduces errors for older versions of Gravity Forms. Will reintroduce in next major release and increase the minimum Gravity Forms version.</li>
|
26 |
+
</ul>
|
27 |
+
|
28 |
+
<h3>3.5.8</h3>
|
29 |
<ul>
|
30 |
<li>Bug - Fixed issue affected some users where a depreciated function was causing a fatal error </li>
|
31 |
</ul>
|