WP-Print - Version 2.55

Version Description

  • NEW: Bump to 4.1
  • FIXED: get_the_category_list() optional secondary argument
  • FIXED: Replace font with p
Download this release

Release Info

Developer GamerZ
Plugin Icon WP-Print
Version 2.55
Comparing to
See all releases

Code changes from version 2.54 to 2.55

Files changed (3) hide show
  1. print-options.php +2 -2
  2. readme.txt +7 -2
  3. wp-print.php +2 -2
print-options.php CHANGED
@@ -29,12 +29,12 @@ if(!empty($_POST['Submit'])) {
29
  $text = '';
30
  foreach($update_print_queries as $update_print_query) {
31
  if($update_print_query) {
32
- $text .= '<font color="green">'.$update_print_text[$i].' '.__('Updated', 'wp-print').'</font><br />';
33
  }
34
  $i++;
35
  }
36
  if(empty($text)) {
37
- $text = '<font color="red">'.__('No Print Option Updated', 'wp-print').'</font>';
38
  }
39
  }
40
 
29
  $text = '';
30
  foreach($update_print_queries as $update_print_query) {
31
  if($update_print_query) {
32
+ $text .= '<p style="color: green;">'.$update_print_text[$i].' '.__('Updated', 'wp-print').'</p>';
33
  }
34
  $i++;
35
  }
36
  if(empty($text)) {
37
+ $text = '<p style="color: red;">'.__('No Print Option Updated', 'wp-print').'</p>';
38
  }
39
  }
40
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: GamerZ
3
  Donate link: http://lesterchan.net/site/donation/
4
  Tags: print, printer, wp-print
5
  Requires at least: 2.8
6
- Tested up to: 4.0
7
- Stable tag: 2.54
8
 
9
  Displays a printable version of your WordPress blog's post/page.
10
 
@@ -91,6 +91,11 @@ if(function_exists('wp_print')) {
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
94
  = 2.54 =
95
  * NEW: Finally there is custom post type support. Props [nimmolo](http://andrewnimmo.org/ "nimmolo").
96
  * NEW: Allow Multisite Network Activate
3
  Donate link: http://lesterchan.net/site/donation/
4
  Tags: print, printer, wp-print
5
  Requires at least: 2.8
6
+ Tested up to: 4.1
7
+ Stable tag: 2.55
8
 
9
  Displays a printable version of your WordPress blog's post/page.
10
 
91
 
92
  == Changelog ==
93
 
94
+ = 2.55 =
95
+ * NEW: Bump to 4.1
96
+ * FIXED: get_the_category_list() optional secondary argument
97
+ * FIXED: Replace font with p
98
+
99
  = 2.54 =
100
  * NEW: Finally there is custom post type support. Props [nimmolo](http://andrewnimmo.org/ "nimmolo").
101
  * NEW: Allow Multisite Network Activate
wp-print.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-Print
4
  Plugin URI: http://lesterchan.net/portfolio/programming/php/
5
  Description: Displays a printable version of your WordPress blog's post/page.
6
- Version: 2.54
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: http://lesterchan.net
9
  Text Domain: wp-print
@@ -237,7 +237,7 @@ function print_content($display = true) {
237
 
238
  ### Function: Print Categories
239
  function print_categories($before = '', $after = '') {
240
- $temp_cat = strip_tags(get_the_category_list(',', $parents));
241
  $temp_cat = explode(', ', $temp_cat);
242
  $temp_cat = implode($after.__(',', 'wp-print').' '.$before, $temp_cat);
243
  echo $before.$temp_cat.$after;
3
  Plugin Name: WP-Print
4
  Plugin URI: http://lesterchan.net/portfolio/programming/php/
5
  Description: Displays a printable version of your WordPress blog's post/page.
6
+ Version: 2.55
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: http://lesterchan.net
9
  Text Domain: wp-print
237
 
238
  ### Function: Print Categories
239
  function print_categories($before = '', $after = '') {
240
+ $temp_cat = strip_tags(get_the_category_list(','));
241
  $temp_cat = explode(', ', $temp_cat);
242
  $temp_cat = implode($after.__(',', 'wp-print').' '.$before, $temp_cat);
243
  echo $before.$temp_cat.$after;