Footer Putter - Version 1.14

Version Description

Added filter, footer_putter_contact_email, on email address to aid compatibility with Email Address Encoded plugin

Download this release

Release Info

Developer powerblogservice
Plugin Icon 128x128 Footer Putter
Version 1.14
Comparing to
See all releases

Code changes from version 1.13 to 1.14

Files changed (3) hide show
  1. classes/class-credits.php +2 -2
  2. main.php +2 -2
  3. readme.txt +8 -5
classes/class-credits.php CHANGED
@@ -87,7 +87,6 @@ class Footer_Credits {
87
  wp_enqueue_style('footer-credits-admin');
88
  }
89
 
90
-
91
  public static function return_to_top( $text, $class) {
92
  return sprintf( '<div id="footer-return" class="%1$s"><a rel="nofollow" href="#" onclick="window.scrollTo(0,0); return false;" >%2$s</a></div>', trim($class), $text);
93
  }
@@ -113,7 +112,8 @@ class Footer_Credits {
113
 
114
  private static function contact_email($show_email, $microdata, $prefix) {
115
  if ($show_email && ($email = Footer_Credits_Options::get_term('email')))
116
- return sprintf('%1$s<a href="mailto:%2$s" class="email"%3$s>%2$s</a>', $prefix, $email, $microdata ? ' itemprop="email"' : '') ;
 
117
  else
118
  return '';
119
  }
87
  wp_enqueue_style('footer-credits-admin');
88
  }
89
 
 
90
  public static function return_to_top( $text, $class) {
91
  return sprintf( '<div id="footer-return" class="%1$s"><a rel="nofollow" href="#" onclick="window.scrollTo(0,0); return false;" >%2$s</a></div>', trim($class), $text);
92
  }
112
 
113
  private static function contact_email($show_email, $microdata, $prefix) {
114
  if ($show_email && ($email = Footer_Credits_Options::get_term('email')))
115
+ return apply_filters ( 'footer_putter_contact_email',
116
+ sprintf('%1$s<a href="mailto:%2$s" class="email"%3$s>%2$s</a>', $prefix, $email, $microdata ? ' itemprop="email"' : '') );
117
  else
118
  return '';
119
  }
main.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: Footer Putter
4
  * Plugin URI: http://www.diywebmastery.com/plugins/footer-putter/
5
  * Description: Put a footer on your site that boosts your credibility with both search engines and human visitors.
6
- * Version: 1.13
7
  * Author: Russell Jamieson
8
  * Author URI: http://www.diywebmastery.com/about/
9
  * License: GPLv2+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  */
12
- define('FOOTER_PUTTER_VERSION','1.13');
13
  define('FOOTER_PUTTER_FRIENDLY_NAME', 'Footer Putter') ;
14
  define('FOOTER_PUTTER_DOMAIN', 'FOOTER_PUTTER_DOMAIN') ;
15
  define('FOOTER_PUTTER_PATH', plugin_basename(__FILE__)) ;
3
  * Plugin Name: Footer Putter
4
  * Plugin URI: http://www.diywebmastery.com/plugins/footer-putter/
5
  * Description: Put a footer on your site that boosts your credibility with both search engines and human visitors.
6
+ * Version: 1.14
7
  * Author: Russell Jamieson
8
  * Author URI: http://www.diywebmastery.com/about/
9
  * License: GPLv2+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  */
12
+ define('FOOTER_PUTTER_VERSION','1.14');
13
  define('FOOTER_PUTTER_FRIENDLY_NAME', 'Footer Putter') ;
14
  define('FOOTER_PUTTER_DOMAIN', 'FOOTER_PUTTER_DOMAIN') ;
15
  define('FOOTER_PUTTER_PATH', plugin_basename(__FILE__)) ;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.diywebmastery.com/donate/
4
  Tags: footer, copyright, trademark
5
  Requires at least: 3.1
6
  Tested up to: 4.3
7
- Stable tag: 1.13
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -48,10 +48,13 @@ Put a footer on your site that boosts your credibility with both search engines
48
 
49
  == Changelog ==
50
 
51
- = 1.13 =
 
 
52
 
53
  * Checked for WordPress 4.3 compatibility
54
- * Updated to use Admin Notices
 
55
  * Added option to hide Powered By WordPress on the TwentySomething themes
56
  * Re-enabled Admin Toolbar if all actions were removed on the wp_footer hook
57
 
@@ -63,8 +66,8 @@ For full version history please see http://www.diywebmastery.com/plugins/footer-
63
 
64
  == Upgrade Notice ==
65
 
66
- = 1.13 =
67
- * Optional - Updated for WordPress 4.3
68
 
69
  == Links ==
70
 
4
  Tags: footer, copyright, trademark
5
  Requires at least: 3.1
6
  Tested up to: 4.3
7
+ Stable tag: 1.14
8
  License: GPLv2+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
48
 
49
  == Changelog ==
50
 
51
+ = 1.14 = Added filter, footer_putter_contact_email, on email address to aid compatibility with Email Address Encoded plugin
52
+
53
+ = 1.13 =
54
 
55
  * Checked for WordPress 4.3 compatibility
56
+ * Updated to use dismissible Admin Notices for messages
57
+ * Now uses tabbed metaboxes
58
  * Added option to hide Powered By WordPress on the TwentySomething themes
59
  * Re-enabled Admin Toolbar if all actions were removed on the wp_footer hook
60
 
66
 
67
  == Upgrade Notice ==
68
 
69
+ = 1.14 =
70
+ * Optional - Added filter on email address to aid compatibility with Email Address Encoded plugin
71
 
72
  == Links ==
73