Version Description
- Bug - Added full support for all Gravity Forms notification events (includes Payment Complete, Payment Refund, Payment Failed, Payment Pending ect)
- Bug - Resolve mPDF PHP7 image parsing error due to a change in variable order parsing.
Download this release
Release Info
Developer | Blue Liquid Designs |
Plugin | Gravity PDF |
Version | 3.7.6 |
Comparing to | |
See all releases |
Code changes from version 3.7.5 to 3.7.6
- README.txt +6 -3
- mPDF/mpdf.php +1 -1
- model/pdf.php +3 -4
- pdf.php +36 -36
- view/templates/settings/changelog.php +24 -17
README.txt
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
=== Plugin Name ===
|
2 |
Contributors: blueliquiddesigns
|
3 |
-
Donate link: https://gravitypdf.com
|
4 |
Tags: gravity, forms, pdf, automation, attachment
|
5 |
Requires at least: 3.9
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 3.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
10 |
|
@@ -86,6 +85,10 @@ All FAQs can be [viewed on the Gravity PDF website](https://gravitypdf.com/#faqs
|
|
86 |
|
87 |
== Changelog ==
|
88 |
|
|
|
|
|
|
|
|
|
89 |
= 3.7.5 =
|
90 |
* Housekeeping - Tweak mPDF package to be PHP7 compatible.
|
91 |
|
1 |
=== Plugin Name ===
|
2 |
Contributors: blueliquiddesigns
|
|
|
3 |
Tags: gravity, forms, pdf, automation, attachment
|
4 |
Requires at least: 3.9
|
5 |
+
Tested up to: 4.5
|
6 |
+
Stable tag: 3.7.6
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
9 |
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 3.7.6 =
|
89 |
+
* Bug - Added full support for all Gravity Forms notification events (includes Payment Complete, Payment Refund, Payment Failed, Payment Pending ect)
|
90 |
+
* Bug - Resolve mPDF PHP7 image parsing error due to a change in variable order parsing.
|
91 |
+
|
92 |
= 3.7.5 =
|
93 |
* Housekeeping - Tweak mPDF package to be PHP7 compatible.
|
94 |
|
mPDF/mpdf.php
CHANGED
@@ -9688,7 +9688,7 @@ function _getImage(&$file, $firsttime=true, $allowvector=true, $orig_srcpath=fal
|
|
9688 |
// firsttime i.e. whether to add to this->images - use false when calling iteratively
|
9689 |
// Image Data passed directly as var:varname
|
9690 |
if (preg_match('/var:\s*(.*)/',$file, $v)) {
|
9691 |
-
$data = $this
|
9692 |
$file = md5($data);
|
9693 |
}
|
9694 |
// mPDF 5.5.13
|
9688 |
// firsttime i.e. whether to add to this->images - use false when calling iteratively
|
9689 |
// Image Data passed directly as var:varname
|
9690 |
if (preg_match('/var:\s*(.*)/',$file, $v)) {
|
9691 |
+
$data = $this->{$v[1]};
|
9692 |
$file = md5($data);
|
9693 |
}
|
9694 |
// mPDF 5.5.13
|
model/pdf.php
CHANGED
@@ -596,14 +596,13 @@ class GFPDF_Core_Model
|
|
596 |
/*
|
597 |
* Get all the notifications assigned to a form so we can determine if a PDF should be attached
|
598 |
*/
|
599 |
-
public static function get_notifications_name($
|
600 |
if(rgempty("notifications", $form))
|
601 |
return array();
|
602 |
|
603 |
$notifications = array();
|
604 |
foreach($form["notifications"] as $notification){
|
605 |
-
|
606 |
-
$notifications[] = $notification['name'];
|
607 |
}
|
608 |
|
609 |
return $notifications;
|
@@ -627,7 +626,7 @@ class GFPDF_Core_Model
|
|
627 |
/*
|
628 |
* Get all form_submission notifications and use to check if any are configured to attach a PDF
|
629 |
*/
|
630 |
-
$notifications = self::get_notifications_name(
|
631 |
|
632 |
$new_notifications = array();
|
633 |
|
596 |
/*
|
597 |
* Get all the notifications assigned to a form so we can determine if a PDF should be attached
|
598 |
*/
|
599 |
+
public static function get_notifications_name($form){
|
600 |
if(rgempty("notifications", $form))
|
601 |
return array();
|
602 |
|
603 |
$notifications = array();
|
604 |
foreach($form["notifications"] as $notification){
|
605 |
+
$notifications[] = $notification['name'];
|
|
|
606 |
}
|
607 |
|
608 |
return $notifications;
|
626 |
/*
|
627 |
* Get all form_submission notifications and use to check if any are configured to attach a PDF
|
628 |
*/
|
629 |
+
$notifications = self::get_notifications_name($form);
|
630 |
|
631 |
$new_notifications = array();
|
632 |
|
pdf.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Gravity PDF
|
5 |
* Plugin URI: https://gravitypdf.com
|
6 |
* Description: Gravity PDF 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.7.
|
8 |
* Author: Blue Liquid Designs
|
9 |
* Author URI: http://www.blueliquiddesigns.com.au
|
10 |
*/
|
@@ -37,15 +37,15 @@
|
|
37 |
{
|
38 |
error_reporting(0);
|
39 |
}
|
40 |
-
|
41 |
/*
|
42 |
* Define our constants
|
43 |
*/
|
44 |
-
define('PDF_EXTENDED_VERSION', '3.7.
|
45 |
define('GF_PDF_EXTENDED_SUPPORTED_VERSION', '1.8');
|
46 |
define('GF_PDF_EXTENDED_WP_SUPPORTED_VERSION', '3.9');
|
47 |
define('GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION', '5');
|
48 |
-
|
49 |
define('PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ));
|
50 |
define('PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ));
|
51 |
define("PDF_SETTINGS_URL", site_url() .'/wp-admin/admin.php?page=gf_settings&subview=PDF');
|
@@ -67,12 +67,12 @@ define('GF_PDF_EXTENDED_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
|
67 |
*/
|
68 |
add_action('init', array('GFPDF_Core', 'pdf_init'));
|
69 |
add_action('wp_ajax_support_request', array('GFPDF_Settings_Model', 'gfpdf_support_request'));
|
70 |
-
|
71 |
|
72 |
class GFPDF_Core extends PDFGenerator
|
73 |
{
|
74 |
public $render;
|
75 |
-
|
76 |
/*
|
77 |
* Main Controller
|
78 |
* First function fired when plugin is loaded
|
@@ -95,12 +95,12 @@ class GFPDF_Core extends PDFGenerator
|
|
95 |
include_once PDF_PLUGIN_DIR . 'pdf-settings.php';
|
96 |
include_once PDF_PLUGIN_DIR . 'depreciated.php';
|
97 |
include_once PDF_PLUGIN_DIR . 'helper/pdf-entry-detail.php';
|
98 |
-
|
99 |
/*
|
100 |
* Set the notice type
|
101 |
*/
|
102 |
self::set_notice_type();
|
103 |
-
|
104 |
/*
|
105 |
* Add localisation support
|
106 |
*/
|
@@ -135,12 +135,12 @@ class GFPDF_Core extends PDFGenerator
|
|
135 |
add_action('admin_init', array('GFPDF_Core', 'gfe_admin_init'), 9);
|
136 |
}
|
137 |
}
|
138 |
-
|
139 |
/*
|
140 |
* We'll initialise our model which will do any function checks ect
|
141 |
*/
|
142 |
include PDF_PLUGIN_DIR . 'model/pdf.php';
|
143 |
-
|
144 |
/*
|
145 |
* Check for any major compatibility issues early
|
146 |
*/
|
@@ -152,13 +152,13 @@ class GFPDF_Core extends PDFGenerator
|
|
152 |
*/
|
153 |
return;
|
154 |
}
|
155 |
-
|
156 |
/*
|
157 |
* Some functions are required to monitor changes in the admin area
|
158 |
* and ensure the plugin functions smoothly
|
159 |
*/
|
160 |
add_action('admin_init', array('GFPDF_Core', 'fully_loaded_admin'), 9999); /* run later than usual to give our auto initialiser a chance to fire */
|
161 |
-
|
162 |
/*
|
163 |
* Only load the plugin if the following requirements are met:
|
164 |
* - Load on Gravity Forms Admin pages
|
@@ -175,14 +175,14 @@ class GFPDF_Core extends PDFGenerator
|
|
175 |
global $gfpdf;
|
176 |
$gfpdf = new GFPDF_Core();
|
177 |
}
|
178 |
-
|
179 |
return;
|
180 |
-
|
181 |
}
|
182 |
-
|
183 |
public function __construct()
|
184 |
{
|
185 |
-
|
186 |
/*
|
187 |
* Ensure the system is fully installed
|
188 |
* We run this after the 'settings' page has been set up (above)
|
@@ -193,20 +193,20 @@ class GFPDF_Core extends PDFGenerator
|
|
193 |
}
|
194 |
|
195 |
global $gfpdfe_data;
|
196 |
-
|
197 |
/*
|
198 |
* Set up the PDF configuration and indexer
|
199 |
* Accessed through $this->configuration and $this->index.
|
200 |
*/
|
201 |
parent::__construct();
|
202 |
-
|
203 |
/*
|
204 |
* Add our main hooks
|
205 |
*/
|
206 |
add_action('gform_entries_first_column_actions', array('GFPDF_Core_Model', 'pdf_link'), 10, 4);
|
207 |
add_action("gform_entry_info", array('GFPDF_Core_Model', 'detail_pdf_link'), 10, 2);
|
208 |
add_action('wp', array('GFPDF_Core_Model', 'process_exterior_pages'));
|
209 |
-
|
210 |
/*
|
211 |
* Apply default filters
|
212 |
*/
|
@@ -218,12 +218,12 @@ class GFPDF_Core extends PDFGenerator
|
|
218 |
{
|
219 |
wp_enqueue_script( 'gfpdfeentries', PDF_PLUGIN_URL . 'resources/javascript/entries-admin.min.js', array('jquery') );
|
220 |
}
|
221 |
-
|
222 |
/*
|
223 |
* Register render class
|
224 |
*/
|
225 |
$this->render = new PDFRender();
|
226 |
-
|
227 |
/*
|
228 |
* Run the notifications filter / save action hook if the web server can write to the output folder
|
229 |
*/
|
@@ -232,9 +232,9 @@ class GFPDF_Core extends PDFGenerator
|
|
232 |
add_action('gform_after_submission', array('GFPDF_Core_Model', 'gfpdfe_save_pdf'), 10, 2);
|
233 |
add_filter('gform_notification', array('GFPDF_Core_Model', 'gfpdfe_create_and_attach_pdf'), 100, 3); /* ensure it's called later than standard so the attachment array isn't overridden */
|
234 |
}
|
235 |
-
|
236 |
}
|
237 |
-
|
238 |
/*
|
239 |
* Do processes that require Wordpress Admin to be fully loaded
|
240 |
*/
|
@@ -250,7 +250,7 @@ class GFPDF_Core extends PDFGenerator
|
|
250 |
}
|
251 |
|
252 |
global $gfpdfe_data;
|
253 |
-
|
254 |
/*
|
255 |
* Don't run initialiser if we cannot...
|
256 |
*/
|
@@ -267,19 +267,19 @@ class GFPDF_Core extends PDFGenerator
|
|
267 |
* Check if we have direct write access to the server
|
268 |
*/
|
269 |
GFPDF_InstallUpdater::check_filesystem_api();
|
270 |
-
|
271 |
/*
|
272 |
* Check if we can automatically deploy the software.
|
273 |
* 90% of sites should be able to do this as they will have 'direct' write abilities
|
274 |
* to their server files.
|
275 |
*/
|
276 |
GFPDF_InstallUpdater::maybe_deploy();
|
277 |
-
|
278 |
/*
|
279 |
* Check if we need to deploy the software
|
280 |
*/
|
281 |
self::check_deployment();
|
282 |
-
|
283 |
/*
|
284 |
* Check if the template folder location needs to be migrated
|
285 |
*/
|
@@ -288,7 +288,7 @@ class GFPDF_Core extends PDFGenerator
|
|
288 |
GFPDF_InstallUpdater::check_template_migration();
|
289 |
}
|
290 |
}
|
291 |
-
|
292 |
/*
|
293 |
* Depending on what page we are on, we need to fire different notices
|
294 |
* We've added our own custom notice to the settings page as some functions fire later than the normal 'admin_notices' action
|
@@ -328,7 +328,7 @@ class GFPDF_Core extends PDFGenerator
|
|
328 |
{
|
329 |
return;
|
330 |
}
|
331 |
-
|
332 |
/*
|
333 |
* Check if GF PDF Extended is correctly installed. If not we'll run the installer.
|
334 |
*/
|
@@ -358,7 +358,7 @@ class GFPDF_Core extends PDFGenerator
|
|
358 |
add_action($gfpdfe_data->notice_type, array("GFPDF_Notices", "gf_pdf_problem_detected"));
|
359 |
}
|
360 |
}
|
361 |
-
|
362 |
/**
|
363 |
* Add our scripts and settings page to the admin area
|
364 |
*/
|
@@ -378,7 +378,7 @@ class GFPDF_Core extends PDFGenerator
|
|
378 |
);
|
379 |
|
380 |
wp_localize_script( 'pdfextended-settings-script', 'GFPDF', $localise_script );
|
381 |
-
|
382 |
/*
|
383 |
* Register our scripts/styles with Gravity Forms to prevent them being removed in no conflict mode
|
384 |
*/
|
@@ -386,9 +386,9 @@ class GFPDF_Core extends PDFGenerator
|
|
386 |
add_filter('gform_noconflict_styles', array('GFPDF_Core', 'register_gravityform_styles'));
|
387 |
|
388 |
add_filter('gform_tooltips', array('GFPDF_Notices', 'add_tooltips'));
|
389 |
-
|
390 |
}
|
391 |
-
|
392 |
/*
|
393 |
* Register our scripts with Gravity Forms so they aren't removed when no conflict mode is active
|
394 |
*/
|
@@ -396,7 +396,7 @@ class GFPDF_Core extends PDFGenerator
|
|
396 |
{
|
397 |
$scripts[] = 'pdfextended-settings-script';
|
398 |
$scripts[] = 'gfpdfeentries';
|
399 |
-
|
400 |
return $scripts;
|
401 |
}
|
402 |
|
@@ -406,10 +406,10 @@ class GFPDF_Core extends PDFGenerator
|
|
406 |
public static function register_gravityform_styles($styles)
|
407 |
{
|
408 |
$styles[] = 'pdfextended-admin-styles';
|
409 |
-
|
410 |
return $styles;
|
411 |
}
|
412 |
-
|
413 |
}
|
414 |
|
415 |
/*
|
4 |
* Plugin Name: Gravity PDF
|
5 |
* Plugin URI: https://gravitypdf.com
|
6 |
* Description: Gravity PDF 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.7.6
|
8 |
* Author: Blue Liquid Designs
|
9 |
* Author URI: http://www.blueliquiddesigns.com.au
|
10 |
*/
|
37 |
{
|
38 |
error_reporting(0);
|
39 |
}
|
40 |
+
|
41 |
/*
|
42 |
* Define our constants
|
43 |
*/
|
44 |
+
define('PDF_EXTENDED_VERSION', '3.7.6');
|
45 |
define('GF_PDF_EXTENDED_SUPPORTED_VERSION', '1.8');
|
46 |
define('GF_PDF_EXTENDED_WP_SUPPORTED_VERSION', '3.9');
|
47 |
define('GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION', '5');
|
48 |
+
|
49 |
define('PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ));
|
50 |
define('PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ));
|
51 |
define("PDF_SETTINGS_URL", site_url() .'/wp-admin/admin.php?page=gf_settings&subview=PDF');
|
67 |
*/
|
68 |
add_action('init', array('GFPDF_Core', 'pdf_init'));
|
69 |
add_action('wp_ajax_support_request', array('GFPDF_Settings_Model', 'gfpdf_support_request'));
|
70 |
+
|
71 |
|
72 |
class GFPDF_Core extends PDFGenerator
|
73 |
{
|
74 |
public $render;
|
75 |
+
|
76 |
/*
|
77 |
* Main Controller
|
78 |
* First function fired when plugin is loaded
|
95 |
include_once PDF_PLUGIN_DIR . 'pdf-settings.php';
|
96 |
include_once PDF_PLUGIN_DIR . 'depreciated.php';
|
97 |
include_once PDF_PLUGIN_DIR . 'helper/pdf-entry-detail.php';
|
98 |
+
|
99 |
/*
|
100 |
* Set the notice type
|
101 |
*/
|
102 |
self::set_notice_type();
|
103 |
+
|
104 |
/*
|
105 |
* Add localisation support
|
106 |
*/
|
135 |
add_action('admin_init', array('GFPDF_Core', 'gfe_admin_init'), 9);
|
136 |
}
|
137 |
}
|
138 |
+
|
139 |
/*
|
140 |
* We'll initialise our model which will do any function checks ect
|
141 |
*/
|
142 |
include PDF_PLUGIN_DIR . 'model/pdf.php';
|
143 |
+
|
144 |
/*
|
145 |
* Check for any major compatibility issues early
|
146 |
*/
|
152 |
*/
|
153 |
return;
|
154 |
}
|
155 |
+
|
156 |
/*
|
157 |
* Some functions are required to monitor changes in the admin area
|
158 |
* and ensure the plugin functions smoothly
|
159 |
*/
|
160 |
add_action('admin_init', array('GFPDF_Core', 'fully_loaded_admin'), 9999); /* run later than usual to give our auto initialiser a chance to fire */
|
161 |
+
|
162 |
/*
|
163 |
* Only load the plugin if the following requirements are met:
|
164 |
* - Load on Gravity Forms Admin pages
|
175 |
global $gfpdf;
|
176 |
$gfpdf = new GFPDF_Core();
|
177 |
}
|
178 |
+
|
179 |
return;
|
180 |
+
|
181 |
}
|
182 |
+
|
183 |
public function __construct()
|
184 |
{
|
185 |
+
|
186 |
/*
|
187 |
* Ensure the system is fully installed
|
188 |
* We run this after the 'settings' page has been set up (above)
|
193 |
}
|
194 |
|
195 |
global $gfpdfe_data;
|
196 |
+
|
197 |
/*
|
198 |
* Set up the PDF configuration and indexer
|
199 |
* Accessed through $this->configuration and $this->index.
|
200 |
*/
|
201 |
parent::__construct();
|
202 |
+
|
203 |
/*
|
204 |
* Add our main hooks
|
205 |
*/
|
206 |
add_action('gform_entries_first_column_actions', array('GFPDF_Core_Model', 'pdf_link'), 10, 4);
|
207 |
add_action("gform_entry_info", array('GFPDF_Core_Model', 'detail_pdf_link'), 10, 2);
|
208 |
add_action('wp', array('GFPDF_Core_Model', 'process_exterior_pages'));
|
209 |
+
|
210 |
/*
|
211 |
* Apply default filters
|
212 |
*/
|
218 |
{
|
219 |
wp_enqueue_script( 'gfpdfeentries', PDF_PLUGIN_URL . 'resources/javascript/entries-admin.min.js', array('jquery') );
|
220 |
}
|
221 |
+
|
222 |
/*
|
223 |
* Register render class
|
224 |
*/
|
225 |
$this->render = new PDFRender();
|
226 |
+
|
227 |
/*
|
228 |
* Run the notifications filter / save action hook if the web server can write to the output folder
|
229 |
*/
|
232 |
add_action('gform_after_submission', array('GFPDF_Core_Model', 'gfpdfe_save_pdf'), 10, 2);
|
233 |
add_filter('gform_notification', array('GFPDF_Core_Model', 'gfpdfe_create_and_attach_pdf'), 100, 3); /* ensure it's called later than standard so the attachment array isn't overridden */
|
234 |
}
|
235 |
+
|
236 |
}
|
237 |
+
|
238 |
/*
|
239 |
* Do processes that require Wordpress Admin to be fully loaded
|
240 |
*/
|
250 |
}
|
251 |
|
252 |
global $gfpdfe_data;
|
253 |
+
|
254 |
/*
|
255 |
* Don't run initialiser if we cannot...
|
256 |
*/
|
267 |
* Check if we have direct write access to the server
|
268 |
*/
|
269 |
GFPDF_InstallUpdater::check_filesystem_api();
|
270 |
+
|
271 |
/*
|
272 |
* Check if we can automatically deploy the software.
|
273 |
* 90% of sites should be able to do this as they will have 'direct' write abilities
|
274 |
* to their server files.
|
275 |
*/
|
276 |
GFPDF_InstallUpdater::maybe_deploy();
|
277 |
+
|
278 |
/*
|
279 |
* Check if we need to deploy the software
|
280 |
*/
|
281 |
self::check_deployment();
|
282 |
+
|
283 |
/*
|
284 |
* Check if the template folder location needs to be migrated
|
285 |
*/
|
288 |
GFPDF_InstallUpdater::check_template_migration();
|
289 |
}
|
290 |
}
|
291 |
+
|
292 |
/*
|
293 |
* Depending on what page we are on, we need to fire different notices
|
294 |
* We've added our own custom notice to the settings page as some functions fire later than the normal 'admin_notices' action
|
328 |
{
|
329 |
return;
|
330 |
}
|
331 |
+
|
332 |
/*
|
333 |
* Check if GF PDF Extended is correctly installed. If not we'll run the installer.
|
334 |
*/
|
358 |
add_action($gfpdfe_data->notice_type, array("GFPDF_Notices", "gf_pdf_problem_detected"));
|
359 |
}
|
360 |
}
|
361 |
+
|
362 |
/**
|
363 |
* Add our scripts and settings page to the admin area
|
364 |
*/
|
378 |
);
|
379 |
|
380 |
wp_localize_script( 'pdfextended-settings-script', 'GFPDF', $localise_script );
|
381 |
+
|
382 |
/*
|
383 |
* Register our scripts/styles with Gravity Forms to prevent them being removed in no conflict mode
|
384 |
*/
|
386 |
add_filter('gform_noconflict_styles', array('GFPDF_Core', 'register_gravityform_styles'));
|
387 |
|
388 |
add_filter('gform_tooltips', array('GFPDF_Notices', 'add_tooltips'));
|
389 |
+
|
390 |
}
|
391 |
+
|
392 |
/*
|
393 |
* Register our scripts with Gravity Forms so they aren't removed when no conflict mode is active
|
394 |
*/
|
396 |
{
|
397 |
$scripts[] = 'pdfextended-settings-script';
|
398 |
$scripts[] = 'gfpdfeentries';
|
399 |
+
|
400 |
return $scripts;
|
401 |
}
|
402 |
|
406 |
public static function register_gravityform_styles($styles)
|
407 |
{
|
408 |
$styles[] = 'pdfextended-admin-styles';
|
409 |
+
|
410 |
return $styles;
|
411 |
}
|
412 |
+
|
413 |
}
|
414 |
|
415 |
/*
|
view/templates/settings/changelog.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Template: Changelog
|
5 |
Module: Settings Page
|
6 |
*/
|
7 |
-
|
8 |
/*
|
9 |
This file is part of Gravity PDF.
|
10 |
|
@@ -24,7 +24,7 @@
|
|
24 |
along with this program; if not, write to the Free Software
|
25 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26 |
*/
|
27 |
-
|
28 |
/*
|
29 |
<li>Don't run if the correct class isn't present
|
30 |
*/
|
@@ -32,14 +32,21 @@
|
|
32 |
{
|
33 |
exit;
|
34 |
}
|
35 |
-
|
36 |
?>
|
37 |
|
38 |
<h2><?php _e('Changelog'); ?></h2>
|
39 |
-
|
40 |
<p><strong>Current Version: <?php echo PDF_EXTENDED_VERSION; ?></strong></p>
|
41 |
|
42 |
<h3><?php echo PDF_EXTENDED_VERSION; ?></h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
<ul>
|
44 |
<li>Tweak mPDF package to be PHP7 compatible.</li>
|
45 |
</ul>
|
@@ -59,7 +66,7 @@
|
|
59 |
<ul>
|
60 |
<li>Bug - Updated $form_data['date_created'], $form_data['date_created_usa'], $form_data['misc']['date_time'], $form_data['misc']['time_24hr'] and $form_data['misc']['time_12hr'] to factor in the website's timezone settings. </li>
|
61 |
</ul>
|
62 |
-
|
63 |
|
64 |
<h3>3.7.1</h3>
|
65 |
<ul>
|
@@ -139,7 +146,7 @@
|
|
139 |
<ul>
|
140 |
<li>Bug - Fixed issue affected some users where a depreciated function was causing a fatal error </li>
|
141 |
</ul>
|
142 |
-
|
143 |
<h3>3.5.7</h3>
|
144 |
<ul>
|
145 |
<li>Bug - Fixed issue where the PDF settings page was blank for some users</li>
|
@@ -303,7 +310,7 @@
|
|
303 |
<li>Bug - Fixed path to fallback templates when not found</li>
|
304 |
<li>Bug - Fixed problem with master password setting to user password</li>
|
305 |
</ul>
|
306 |
-
|
307 |
<h3>3.3.4</h3>
|
308 |
<ul>
|
309 |
<li>Bug - Fixed issue linking to PDF from front end</li>
|
@@ -315,23 +322,23 @@
|
|
315 |
<li>Bug - Some users still reported incorrect RAM. Convert MB/KB/GB values to M/K/G as per the PHP documentation.</li>
|
316 |
<li>Housekeeping - Show initilisation prompt on all admin area pages instead of only on the Gravity Forms pages</li>
|
317 |
</ul>
|
318 |
-
|
319 |
<h3>3.3.2.1</h3>
|
320 |
<ul>
|
321 |
<li>Bug - Incorrectly showing assigned RAM to website</li>
|
322 |
</ul>
|
323 |
-
|
324 |
<h3>3.3.2</h3>
|
325 |
<ul>
|
326 |
<li>Bug - Some hosts reported SSL certificate errors when using the support API. Disabled HTTPS for further investigation. Using hash-based verification for authentication.</li>
|
327 |
<li>Housekeeping - Forgot to disable API debug feature after completing beta</li>
|
328 |
</ul>
|
329 |
-
|
330 |
<h3>3.3.1</h3>
|
331 |
<ul>
|
332 |
<li>Bug - $form_data['list'] was mapped using an incremental key instead of via the field ID</li>
|
333 |
</ul>
|
334 |
-
|
335 |
<h3>3.3.0</h3>
|
336 |
<ul>
|
337 |
<li>Feature - Overhauled the initialisation process so that the software better reviews the host for potential problems before initialisation. This should help debug issues and make users aware there could be a problem <strong>before</strong> they begin using the software.</li>
|
@@ -352,9 +359,9 @@
|
|
352 |
<li>Housekeeping - Fixed PHP notices in default templates related to the default template-only configuration options</li>
|
353 |
<li>Housekeeping - Update core styles to match Wordpress 3.8/Gravity Forms 1.8.</li>
|
354 |
<li>Housekeeping - Updated header/footer examples to use @page in example.</li>
|
355 |
-
|
356 |
</ul>
|
357 |
-
|
358 |
<h3>3.2.0</h3>
|
359 |
<ul>
|
360 |
<li>Feature - Can now view multiple PDFs assigned to a single form via the admin area. Note: You must provide a unique 'filename' parameter in configuration.php for multiple PDFs assigned to a single form. </li>
|
@@ -367,7 +374,7 @@
|
|
367 |
<li>Bug - Fixed problem sending duplicate PDF when using mass resend notification feature</li>
|
368 |
<li>Depreciated - Removed GF_FORM_ID and GF_LEAD_ID constants which were used in v2.x.x of the software. Ensure you follow <a rel="nofollow" href="https://developer.gravitypdf.com/news/version-2-3-migration-guide/">v2.x.x upgrade guide</a> to your templates before upgrading.</li>
|
369 |
</ul>
|
370 |
-
|
371 |
<h3>3.1.4</h3>
|
372 |
<ul>
|
373 |
<li>Bug - Fixed issue with plugin breaking website's when the Gravity Forms plugin wasn't activated.</li>
|
@@ -375,7 +382,7 @@
|
|
375 |
<li>Housekeeping - PDF template files can no longer be accessed directly. Instead, add &html=1 to the end of your URL when viewing a PDF.</li>
|
376 |
<li>Extension - Added additional filters to allow the lead ID and notifications to be overridden.</li>
|
377 |
</ul>
|
378 |
-
|
379 |
<h3>3.1.3</h3>
|
380 |
<ul>
|
381 |
<li>Feature - Added signature_details_id to $form_data array which maps a signatures field ID to the array.</li>
|
@@ -386,7 +393,7 @@
|
|
386 |
<li>Bug - Fixed issue with empty signature field not displaying when option 'default-show-empty' is set.</li>
|
387 |
<li>Bug - Fixed initialisation prompt issue when the MPDF package wasn't unpacked.</li>
|
388 |
</ul>
|
389 |
-
|
390 |
<h3>3.1.2</h3>
|
391 |
<ul>
|
392 |
<li>Feature - Added list array, file path, form ID and lead ID to $form_data array in custom templates</li>
|
@@ -395,7 +402,7 @@
|
|
395 |
<li>Bug - Fixed issue with product dropdown and radio button data showing the value instead of the name field.</li>
|
396 |
<li>Bug - Fixed incorrect URL pointing to signature in $form_data</li>
|
397 |
</ul>
|
398 |
-
|
399 |
<h3>3.1.1</h3>
|
400 |
<ul>
|
401 |
<li>Bug - Users whose server only supports FTP file manipulation using the WP_Filesystem API moved the files into the wrong directory due to FTP usually being rooted to the WordPress home directory. To fix this the plugin attempts to determine the FTP directory, otherwise assumes it is the WP base directory. </li>
|
4 |
Template: Changelog
|
5 |
Module: Settings Page
|
6 |
*/
|
7 |
+
|
8 |
/*
|
9 |
This file is part of Gravity PDF.
|
10 |
|
24 |
along with this program; if not, write to the Free Software
|
25 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26 |
*/
|
27 |
+
|
28 |
/*
|
29 |
<li>Don't run if the correct class isn't present
|
30 |
*/
|
32 |
{
|
33 |
exit;
|
34 |
}
|
35 |
+
|
36 |
?>
|
37 |
|
38 |
<h2><?php _e('Changelog'); ?></h2>
|
39 |
+
|
40 |
<p><strong>Current Version: <?php echo PDF_EXTENDED_VERSION; ?></strong></p>
|
41 |
|
42 |
<h3><?php echo PDF_EXTENDED_VERSION; ?></h3>
|
43 |
+
<ul>
|
44 |
+
<li>Bug - Added full support for all Gravity Forms notification events (includes Payment Complete, Payment Refund, Payment Failed, Payment Pending ect)</li>
|
45 |
+
<li>Bug - Resolve mPDF PHP7 image parsing error due to a change in variable order parsing.</li>
|
46 |
+
</ul>
|
47 |
+
|
48 |
+
|
49 |
+
<h3>3.7.5</h3>
|
50 |
<ul>
|
51 |
<li>Tweak mPDF package to be PHP7 compatible.</li>
|
52 |
</ul>
|
66 |
<ul>
|
67 |
<li>Bug - Updated $form_data['date_created'], $form_data['date_created_usa'], $form_data['misc']['date_time'], $form_data['misc']['time_24hr'] and $form_data['misc']['time_12hr'] to factor in the website's timezone settings. </li>
|
68 |
</ul>
|
69 |
+
|
70 |
|
71 |
<h3>3.7.1</h3>
|
72 |
<ul>
|
146 |
<ul>
|
147 |
<li>Bug - Fixed issue affected some users where a depreciated function was causing a fatal error </li>
|
148 |
</ul>
|
149 |
+
|
150 |
<h3>3.5.7</h3>
|
151 |
<ul>
|
152 |
<li>Bug - Fixed issue where the PDF settings page was blank for some users</li>
|
310 |
<li>Bug - Fixed path to fallback templates when not found</li>
|
311 |
<li>Bug - Fixed problem with master password setting to user password</li>
|
312 |
</ul>
|
313 |
+
|
314 |
<h3>3.3.4</h3>
|
315 |
<ul>
|
316 |
<li>Bug - Fixed issue linking to PDF from front end</li>
|
322 |
<li>Bug - Some users still reported incorrect RAM. Convert MB/KB/GB values to M/K/G as per the PHP documentation.</li>
|
323 |
<li>Housekeeping - Show initilisation prompt on all admin area pages instead of only on the Gravity Forms pages</li>
|
324 |
</ul>
|
325 |
+
|
326 |
<h3>3.3.2.1</h3>
|
327 |
<ul>
|
328 |
<li>Bug - Incorrectly showing assigned RAM to website</li>
|
329 |
</ul>
|
330 |
+
|
331 |
<h3>3.3.2</h3>
|
332 |
<ul>
|
333 |
<li>Bug - Some hosts reported SSL certificate errors when using the support API. Disabled HTTPS for further investigation. Using hash-based verification for authentication.</li>
|
334 |
<li>Housekeeping - Forgot to disable API debug feature after completing beta</li>
|
335 |
</ul>
|
336 |
+
|
337 |
<h3>3.3.1</h3>
|
338 |
<ul>
|
339 |
<li>Bug - $form_data['list'] was mapped using an incremental key instead of via the field ID</li>
|
340 |
</ul>
|
341 |
+
|
342 |
<h3>3.3.0</h3>
|
343 |
<ul>
|
344 |
<li>Feature - Overhauled the initialisation process so that the software better reviews the host for potential problems before initialisation. This should help debug issues and make users aware there could be a problem <strong>before</strong> they begin using the software.</li>
|
359 |
<li>Housekeeping - Fixed PHP notices in default templates related to the default template-only configuration options</li>
|
360 |
<li>Housekeeping - Update core styles to match Wordpress 3.8/Gravity Forms 1.8.</li>
|
361 |
<li>Housekeeping - Updated header/footer examples to use @page in example.</li>
|
362 |
+
|
363 |
</ul>
|
364 |
+
|
365 |
<h3>3.2.0</h3>
|
366 |
<ul>
|
367 |
<li>Feature - Can now view multiple PDFs assigned to a single form via the admin area. Note: You must provide a unique 'filename' parameter in configuration.php for multiple PDFs assigned to a single form. </li>
|
374 |
<li>Bug - Fixed problem sending duplicate PDF when using mass resend notification feature</li>
|
375 |
<li>Depreciated - Removed GF_FORM_ID and GF_LEAD_ID constants which were used in v2.x.x of the software. Ensure you follow <a rel="nofollow" href="https://developer.gravitypdf.com/news/version-2-3-migration-guide/">v2.x.x upgrade guide</a> to your templates before upgrading.</li>
|
376 |
</ul>
|
377 |
+
|
378 |
<h3>3.1.4</h3>
|
379 |
<ul>
|
380 |
<li>Bug - Fixed issue with plugin breaking website's when the Gravity Forms plugin wasn't activated.</li>
|
382 |
<li>Housekeeping - PDF template files can no longer be accessed directly. Instead, add &html=1 to the end of your URL when viewing a PDF.</li>
|
383 |
<li>Extension - Added additional filters to allow the lead ID and notifications to be overridden.</li>
|
384 |
</ul>
|
385 |
+
|
386 |
<h3>3.1.3</h3>
|
387 |
<ul>
|
388 |
<li>Feature - Added signature_details_id to $form_data array which maps a signatures field ID to the array.</li>
|
393 |
<li>Bug - Fixed issue with empty signature field not displaying when option 'default-show-empty' is set.</li>
|
394 |
<li>Bug - Fixed initialisation prompt issue when the MPDF package wasn't unpacked.</li>
|
395 |
</ul>
|
396 |
+
|
397 |
<h3>3.1.2</h3>
|
398 |
<ul>
|
399 |
<li>Feature - Added list array, file path, form ID and lead ID to $form_data array in custom templates</li>
|
402 |
<li>Bug - Fixed issue with product dropdown and radio button data showing the value instead of the name field.</li>
|
403 |
<li>Bug - Fixed incorrect URL pointing to signature in $form_data</li>
|
404 |
</ul>
|
405 |
+
|
406 |
<h3>3.1.1</h3>
|
407 |
<ul>
|
408 |
<li>Bug - Users whose server only supports FTP file manipulation using the WP_Filesystem API moved the files into the wrong directory due to FTP usually being rooted to the WordPress home directory. To fix this the plugin attempts to determine the FTP directory, otherwise assumes it is the WP base directory. </li>
|