Version Description
Download this release
Release Info
Developer | Blue Liquid Designs |
Plugin | Gravity PDF |
Version | 5.2.0-beta2 |
Comparing to | |
See all releases |
Code changes from version 5.2.0-beta1 to 5.2.0-beta2
- pdf.php +2 -2
- src/Helper/Helper_Abstract_Addon.php +1 -1
- src/deprecated.php +1 -1
pdf.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gravity PDF
|
4 |
-
Version: 5.2.0-
|
5 |
Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
|
6 |
Author: Gravity PDF
|
7 |
Author URI: https://gravitypdf.com
|
@@ -37,7 +37,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
37 |
/*
|
38 |
* Set base constants we'll use throughout the plugin
|
39 |
*/
|
40 |
-
define( 'PDF_EXTENDED_VERSION', '5.2.0-
|
41 |
define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
|
42 |
define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
|
43 |
define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gravity PDF
|
4 |
+
Version: 5.2.0-beta2
|
5 |
Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
|
6 |
Author: Gravity PDF
|
7 |
Author URI: https://gravitypdf.com
|
37 |
/*
|
38 |
* Set base constants we'll use throughout the plugin
|
39 |
*/
|
40 |
+
define( 'PDF_EXTENDED_VERSION', '5.2.0-beta2' ); /* the current plugin version */
|
41 |
define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
|
42 |
define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
|
43 |
define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
|
src/Helper/Helper_Abstract_Addon.php
CHANGED
@@ -192,7 +192,7 @@ abstract class Helper_Abstract_Addon {
|
|
192 |
*
|
193 |
* @since 4.2
|
194 |
*/
|
195 |
-
|
196 |
return trim(
|
197 |
str_replace(
|
198 |
'Gravity PDF',
|
192 |
*
|
193 |
* @since 4.2
|
194 |
*/
|
195 |
+
public function get_short_name() {
|
196 |
return trim(
|
197 |
str_replace(
|
198 |
'Gravity PDF',
|
src/deprecated.php
CHANGED
@@ -746,7 +746,7 @@ if ( ! class_exists( 'mPDF' ) ) {
|
|
746 |
$data = GPDFAPI::get_data_class();
|
747 |
$default_font_config = ( new \Mpdf\Config\FontVariables() )->getDefaults();
|
748 |
|
749 |
-
$this->mpdf = new \GFPDF\Helper\
|
750 |
[
|
751 |
'fontDir' => [
|
752 |
$data->template_font_location,
|
746 |
$data = GPDFAPI::get_data_class();
|
747 |
$default_font_config = ( new \Mpdf\Config\FontVariables() )->getDefaults();
|
748 |
|
749 |
+
$this->mpdf = new \GFPDF\Helper\Helper_Mpdf(
|
750 |
[
|
751 |
'fontDir' => [
|
752 |
$data->template_font_location,
|