Print, PDF, Email by PrintFriendly - Version 3.1.1

Version Description

  • Fixed admin js caching.
Download this release

Release Info

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

Code changes from version 3.1.0 to 3.1.1

Files changed (2) hide show
  1. pf.php +6 -4
  2. readme.txt +5 -1
pf.php CHANGED
@@ -4,11 +4,12 @@ Plugin Name: Print Friendly and PDF
4
  Plugin URI: http://www.printfriendly.com
5
  Description: PrintFriendly & PDF button for your website. Optimizes your pages and brand for print, pdf, and email.
6
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
7
- Version: 3.1.0
8
  Author: Print Friendly
9
  Author URI: http://www.PrintFriendly.com
10
 
11
  Changelog :
 
12
  3.1.0 - Fixed admin css caching.
13
  3.0.9 - New features: Custom header, disable click-to-delete, https support (beta), PrintFriendly Pro (ad-free).
14
  3.0.8 - Reordered PrintFriendly & PDF buttons. CSS stylesheet option is now checked by default.
@@ -382,13 +383,14 @@ if ( ! class_exists( 'PrintFriendly_WordPress' ) ) {
382
  */
383
  function admin_enqueue_scripts( $screen_id ) {
384
  if ( $this->settings_page == $screen_id ) {
385
- wp_register_script( 'pf-color-picker', plugins_url( 'colorpicker.js', __FILE__ ), array( 'jquery', 'media-upload' ) );
386
- wp_register_script( 'pf-admin-js', plugins_url( 'admin.js', __FILE__ ), array( 'jquery', 'media-upload' ) );
 
387
 
388
  wp_enqueue_script( 'pf-color-picker' );
389
  wp_enqueue_script( 'pf-admin-js' );
390
 
391
- wp_enqueue_style( 'printfriendly-admin-css', plugins_url( 'admin.css', __FILE__ ), array(), '3.1.0' );
392
  }
393
  }
394
 
4
  Plugin URI: http://www.printfriendly.com
5
  Description: PrintFriendly & PDF button for your website. Optimizes your pages and brand for print, pdf, and email.
6
  Name and URL are included to ensure repeat visitors and new visitors when printed versions are shared.
7
+ Version: 3.1.1
8
  Author: Print Friendly
9
  Author URI: http://www.PrintFriendly.com
10
 
11
  Changelog :
12
+ 3.1.1 - Fixed admin js caching.
13
  3.1.0 - Fixed admin css caching.
14
  3.0.9 - New features: Custom header, disable click-to-delete, https support (beta), PrintFriendly Pro (ad-free).
15
  3.0.8 - Reordered PrintFriendly & PDF buttons. CSS stylesheet option is now checked by default.
383
  */
384
  function admin_enqueue_scripts( $screen_id ) {
385
  if ( $this->settings_page == $screen_id ) {
386
+ $ver = '3.1.1';
387
+ wp_register_script( 'pf-color-picker', plugins_url( 'colorpicker.js', __FILE__ ), array( 'jquery', 'media-upload' ), $ver );
388
+ wp_register_script( 'pf-admin-js', plugins_url( 'admin.js', __FILE__ ), array( 'jquery', 'media-upload' ), $ver );
389
 
390
  wp_enqueue_script( 'pf-color-picker' );
391
  wp_enqueue_script( 'pf-admin-js' );
392
 
393
+ wp_enqueue_style( 'printfriendly-admin-css', plugins_url( 'admin.css', __FILE__ ), array(), $ver);
394
  }
395
  }
396
 
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.4.2
6
- Stable tag: 3.1.0
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.1.0 =
68
 
69
  * Fixed admin css caching.
3
  Tags: print, pdf, printer, printing, printable, widget, plugin
4
  Requires at least: 2.8
5
  Tested up to: 3.4.2
6
+ Stable tag: 3.1.1
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.1.1 =
68
+
69
+ * Fixed admin js caching.
70
+
71
  = 3.1.0 =
72
 
73
  * Fixed admin css caching.