Print, PDF, Email by PrintFriendly - Version 3.8.5

Version Description

  • Bug fix.
Download this release

Release Info

Developer printfriendly
Plugin Icon 128x128 Print, PDF, Email by PrintFriendly
Version 3.8.5
Comparing to
See all releases

Code changes from version 3.8.4 to 3.8.5

Files changed (2) hide show
  1. pf.php +12 -9
  2. readme.txt +4 -1
pf.php CHANGED
@@ -5,11 +5,12 @@ Plugin Name: Print, PDF & Email by PrintFriendly
5
  Plugin URI: http://www.printfriendly.com
6
  Description: PrintFriendly & PDF button for your website. Optimizes your pages and brand for print, pdf, and email.
7
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
8
- Version: 3.8.4
9
  Author: Print, PDF, & Email by PrintFriendly
10
  Author URI: http://www.PrintFriendly.com
11
 
12
  Changelog :
 
13
  3.8.4 - Bug fix.
14
  3.8.1 - Improve automatic error reporting.
15
  3.8.0 - Add automatic error reporting.
@@ -107,7 +108,7 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
107
  * Current plugin version.
108
  * @var string
109
  */
110
- var $plugin_version = '3.8.4';
111
 
112
  /**
113
  * The hook, used for text domain as well as hooks on pages and in get requests for admin.
@@ -225,13 +226,7 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
225
  'php-version' => PHP_VERSION
226
  ));
227
 
228
- $this->raven_client->setSendCallback(function($data) {
229
- try {
230
- return isset($data) && preg_match('/printfriendly/', json_encode($data));
231
- } catch (Exception $e) {
232
- return true;
233
- }
234
- });
235
  } catch (Exception $e) {
236
  if (!ini_get('display_errors')) {
237
  error_log('PrintFriendly init_error_reporting Error: ' . $e);
@@ -241,6 +236,14 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
241
  }
242
  }
243
 
 
 
 
 
 
 
 
 
244
  function raven_catch($e) {
245
  if (isset($this->raven_client)) {
246
  try {
5
  Plugin URI: http://www.printfriendly.com
6
  Description: PrintFriendly & PDF button for your website. Optimizes your pages and brand for print, pdf, and email.
7
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
8
+ Version: 3.8.5
9
  Author: Print, PDF, & Email by PrintFriendly
10
  Author URI: http://www.PrintFriendly.com
11
 
12
  Changelog :
13
+ 3.8.5 - Bug fix.
14
  3.8.4 - Bug fix.
15
  3.8.1 - Improve automatic error reporting.
16
  3.8.0 - Add automatic error reporting.
108
  * Current plugin version.
109
  * @var string
110
  */
111
+ var $plugin_version = '3.8.5';
112
 
113
  /**
114
  * The hook, used for text domain as well as hooks on pages and in get requests for admin.
226
  'php-version' => PHP_VERSION
227
  ));
228
 
229
+ $this->raven_client->setSendCallback(array( &$this, 'raven_callback' ));
 
 
 
 
 
 
230
  } catch (Exception $e) {
231
  if (!ini_get('display_errors')) {
232
  error_log('PrintFriendly init_error_reporting Error: ' . $e);
236
  }
237
  }
238
 
239
+ function raven_callback($data) {
240
+ try {
241
+ return isset($data) && preg_match('/printfriendly/', json_encode($data));
242
+ } catch (Exception $e) {
243
+ return true;
244
+ }
245
+ }
246
+
247
  function raven_catch($e) {
248
  if (isset($this->raven_client)) {
249
  try {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: printfriendly,joostdevalk, jrf
3
  Tags: print, pdf, email, print button, wp-print, print recipe, print post, print page, print widget, print plugin, printable, wp-pdf, pdf post, pdf page, pdf button, pdf widget, pdf plugin, woocommerce print, woocommerce pdf
4
  Requires at least: 2.8
5
  Tested up to: 4.7
6
- Stable tag: 3.7.4
7
 
8
 
9
  The #1 Print, PDF, Email button. Stylish, full featured, customizable. Add custom header, footer, and more.
@@ -140,6 +140,9 @@ You can [hide the Print, PDF, and Email button](https://support.printfriendly.co
140
 
141
  == Changelog ==
142
 
 
 
 
143
  = 3.8.4 =
144
  * Bug fix.
145
 
3
  Tags: print, pdf, email, print button, wp-print, print recipe, print post, print page, print widget, print plugin, printable, wp-pdf, pdf post, pdf page, pdf button, pdf widget, pdf plugin, woocommerce print, woocommerce pdf
4
  Requires at least: 2.8
5
  Tested up to: 4.7
6
+ Stable tag: 3.8.5
7
 
8
 
9
  The #1 Print, PDF, Email button. Stylish, full featured, customizable. Add custom header, footer, and more.
140
 
141
  == Changelog ==
142
 
143
+ = 3.8.5 =
144
+ * Bug fix.
145
+
146
  = 3.8.4 =
147
  * Bug fix.
148