Print, PDF, Email by PrintFriendly - Version 3.0.8

Version Description

  • Reordered PrintFriendly & PDF buttons. CSS stylesheet option is now checked by default.
Download this release

Release Info

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

Code changes from version 3.0.7 to 3.0.8

Files changed (3) hide show
  1. admin.js +1 -1
  2. pf.php +6 -5
  3. readme.txt +7 -4
admin.js CHANGED
@@ -43,7 +43,7 @@ jQuery(document).ready(function() {
43
  jQuery('.css input').attr('disabled','disabled');
44
  }
45
  });
46
- if ( jQuery('#disable_css').not(':checked') ) {
47
  jQuery('.css').hide();
48
  jQuery('.css input').attr('disabled','disabled');
49
  }
43
  jQuery('.css input').attr('disabled','disabled');
44
  }
45
  });
46
+ if ( !jQuery('#disable_css').is(':checked') ) {
47
  jQuery('.css').hide();
48
  jQuery('.css input').attr('disabled','disabled');
49
  }
pf.php CHANGED
@@ -4,11 +4,12 @@ Plugin Name: Print Friendly and PDF
4
  Plugin URI: http://www.printfriendly.com
5
  Description: PrintFriendly & PDF optimizes your pages for print. Help your readers save paper and ink, plus enjoy your content in printed form. Website
6
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
7
- Version: 3.0.7
8
  Author: Print Friendly
9
  Author URI: http://www.PrintFriendly.com
10
 
11
  Changelog :
 
12
  3.0.7 - Added additional images for print button.
13
  3.0.6 - Fix bug that would display button on category pages when not wanted.
14
  3.0.5 - Include button on category pages if user has selected "All pages".
@@ -402,7 +403,7 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
402
  'content_placement' => 'after',
403
  'custom_image' => '',
404
  'custom_text' => 'Print Friendly',
405
- 'disable_css' => false,
406
  'javascript_include' => 'on',
407
  'javascript_fallback' => 'on',
408
  'margin_top' => 0,
@@ -570,7 +571,9 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
570
  <td class="defaultavatarpicker">
571
  <fieldset>
572
  <?php $this->radio('pf-button.gif'); ?>
573
- <?php $this->radio('button-print-grnw20.png'); ?>
 
 
574
  <?php $this->radio('button-print-blu20.png'); ?>
575
  <?php $this->radio('button-print-gry20.png'); ?>
576
  <?php $this->radio('button-print-whgn20.png'); ?>
@@ -578,8 +581,6 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
578
  <?php $this->radio('pf_button_sq_gry_l.png'); ?>
579
  <?php $this->radio('pf_button_sq_grn_m.png'); ?>
580
  <?php $this->radio('pf_button_sq_grn_l.png'); ?>
581
- <?php $this->radio('pf-button-both.gif'); ?>
582
- <?php $this->radio('pf-button-big.gif'); ?>
583
  <span class="button_preview">
584
  <?php $this->radio('pf-icon-small.gif'); ?>
585
  <?php $this->radio('pf-icon-both.gif'); ?>
4
  Plugin URI: http://www.printfriendly.com
5
  Description: PrintFriendly & PDF optimizes your pages for print. Help your readers save paper and ink, plus enjoy your content in printed form. Website
6
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
7
+ Version: 3.0.8
8
  Author: Print Friendly
9
  Author URI: http://www.PrintFriendly.com
10
 
11
  Changelog :
12
+ 3.0.8 - Reordered PrintFriendly & PDF buttons. CSS stylesheet option is now checked by default.
13
  3.0.7 - Added additional images for print button.
14
  3.0.6 - Fix bug that would display button on category pages when not wanted.
15
  3.0.5 - Include button on category pages if user has selected "All pages".
403
  'content_placement' => 'after',
404
  'custom_image' => '',
405
  'custom_text' => 'Print Friendly',
406
+ 'disable_css' => 'on',
407
  'javascript_include' => 'on',
408
  'javascript_fallback' => 'on',
409
  'margin_top' => 0,
571
  <td class="defaultavatarpicker">
572
  <fieldset>
573
  <?php $this->radio('pf-button.gif'); ?>
574
+ <?php $this->radio('pf-button-both.gif'); ?>
575
+ <?php $this->radio('pf-button-big.gif'); ?>
576
+ <?php $this->radio('button-print-grnw20.png'); ?>
577
  <?php $this->radio('button-print-blu20.png'); ?>
578
  <?php $this->radio('button-print-gry20.png'); ?>
579
  <?php $this->radio('button-print-whgn20.png'); ?>
581
  <?php $this->radio('pf_button_sq_gry_l.png'); ?>
582
  <?php $this->radio('pf_button_sq_grn_m.png'); ?>
583
  <?php $this->radio('pf_button_sq_grn_l.png'); ?>
 
 
584
  <span class="button_preview">
585
  <?php $this->radio('pf-icon-small.gif'); ?>
586
  <?php $this->radio('pf-icon-both.gif'); ?>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: printfriendly,joostdevalk
3
  Tags: print, pdf, printer, printing, printable, widget, plugin
4
  Requires at least: 2.8
5
  Tested up to: 3.2.1
6
- Stable tag: 3.0.7
7
 
8
  The #1 Print and PDF button for your WordPress site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
9
 
@@ -64,6 +64,10 @@ If you have any other issues with the plugin or the PrintFriendly widget, please
64
 
65
  == Changelog ==
66
 
 
 
 
 
67
  = 3.0.7 =
68
 
69
  * Added additional images for print button.
@@ -84,7 +88,6 @@ If you have any other issues with the plugin or the PrintFriendly widget, please
84
 
85
  * Support for bad themes that alter template tags and prevent JavaScript from loading in footer.
86
 
87
-
88
  = 3.0.2 =
89
 
90
  * Fixed JS bug with Google Chrome not submitting and fixed input validation issues.
@@ -113,12 +116,12 @@ If you have any other issues with the plugin or the PrintFriendly widget, please
113
 
114
  = 2.1.7 =
115
 
116
- * Changed print button from <span> to <div> to support floating the print and PDF button to right.
117
 
118
  = 2.1.6 =
119
 
120
  * Added rel="nofollow" to the print links to avoid search engines indexing the print pages.
121
- * Changed print button from link <a> to <span>. Some tracking plugins added target_new/blank to link, therefore breaking print friendly.
122
 
123
  = 2.1.5 =
124
 
3
  Tags: print, pdf, printer, printing, printable, widget, plugin
4
  Requires at least: 2.8
5
  Tested up to: 3.2.1
6
+ Stable tag: 3.0.8
7
 
8
  The #1 Print and PDF button for your WordPress site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
9
 
64
 
65
  == Changelog ==
66
 
67
+ = 3.0.8 =
68
+
69
+ * Reordered PrintFriendly & PDF buttons. CSS stylesheet option is now checked by default.
70
+
71
  = 3.0.7 =
72
 
73
  * Added additional images for print button.
88
 
89
  * Support for bad themes that alter template tags and prevent JavaScript from loading in footer.
90
 
 
91
  = 3.0.2 =
92
 
93
  * Fixed JS bug with Google Chrome not submitting and fixed input validation issues.
116
 
117
  = 2.1.7 =
118
 
119
+ * Changed print button from `<span>` to `<div>` to support floating the print and PDF button to right.
120
 
121
  = 2.1.6 =
122
 
123
  * Added rel="nofollow" to the print links to avoid search engines indexing the print pages.
124
+ * Changed print button from link `<a>` to `<span>`. Some tracking plugins added target_new/blank to link, therefore breaking print friendly.
125
 
126
  = 2.1.5 =
127