Print, PDF, Email by PrintFriendly - Version 2.1.1

Version Description

Download this release

Release Info

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

Code changes from version 2.1 to 2.1.1

Files changed (2) hide show
  1. pf.php +2 -2
  2. readme.txt +1 -1
pf.php CHANGED
@@ -8,7 +8,7 @@
8
  Author URI: http://www.PrintFriendly.com
9
 
10
  Changelog :
11
- 2.1.1 - Fixed admin settings bug.
12
  2.1 - Update for mult-author websites. Improvements to Settings page.
13
  2.0 - Customize the style, placement, and pages your printfriendly button appears.
14
  1.5 - Added developer ability to disable hook and use the pf_show_link() function to better be used in a custom theme & Uninstall cleanup.
@@ -217,7 +217,7 @@ function pf_show_link($content=false){
217
  $separator = "&pfstyle=wp";
218
  }
219
  $plink_url = $post_url . $separator;
220
- $button = '<div'.$style.'class="pfButton">'.$add.'<a href="'.$plink_url.'" style="text-decoration: none; color: '.get_option('pf_text_color').';">'.pf_button().'</a></div>';
221
  if(get_option('pf_content_placement')==null){
222
  return $content.$button;
223
  }else{
8
  Author URI: http://www.PrintFriendly.com
9
 
10
  Changelog :
11
+ 2.1.1 - Fixed bug affecting wordpress 3.0.3
12
  2.1 - Update for mult-author websites. Improvements to Settings page.
13
  2.0 - Customize the style, placement, and pages your printfriendly button appears.
14
  1.5 - Added developer ability to disable hook and use the pf_show_link() function to better be used in a custom theme & Uninstall cleanup.
217
  $separator = "&pfstyle=wp";
218
  }
219
  $plink_url = $post_url . $separator;
220
+ $button = '<div'.$style.'class="pfButton">'.$add.'<a href="'.$plink_url.'" onclick="window.print(); return false;" style="text-decoration: none; color: '.get_option('pf_text_color').';">'.pf_button().'</a></div>';
221
  if(get_option('pf_content_placement')==null){
222
  return $content.$button;
223
  }else{
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: printfriendly
3
  Tags: print, pdf, printer, printing, printable
4
  Requires at least: 1.5
5
- Stable tag: trunk
6
 
7
  #1 Print and PDF button for your wp site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
8
 
2
  Contributors: printfriendly
3
  Tags: print, pdf, printer, printing, printable
4
  Requires at least: 1.5
5
+ Stable tag: 2.1.1
6
 
7
  #1 Print and PDF button for your wp site. Printer Friendly pages without coding, css, or print.css. Fast, easy, and professional.
8