Changeset 2230779
- Timestamp:
- 01/21/2020 08:42:18 AM (6 years ago)
- Location:
- emailscrambler
- Files:
-
- 4 edited
-
tags/1.2/classes/action.class.php (modified) (1 diff)
-
tags/1.2/emailscrambler.php (modified) (2 diffs)
-
trunk/classes/action.class.php (modified) (1 diff)
-
trunk/emailscrambler.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
emailscrambler/tags/1.2/classes/action.class.php
r2230759 r2230779 23 23 } // public static function wp_head() : void 24 24 25 public static function wp_foot () : void {25 public static function wp_footer() : void { 26 26 27 27 ob_end_flush(); -
emailscrambler/tags/1.2/emailscrambler.php
r2230759 r2230779 9 9 * Plugin URI: https://daschmi.de/wpes 10 10 * Description: A lightweight plugin to protect email addresses from email-harvesting 11 * Version: 1. 111 * Version: 1.2 12 12 * Author: Daniel Schmitzer 13 13 * Author URI: https://daschmi.de/ … … 20 20 require_once dirname(__FILE__).'/classes/action.class.php'; 21 21 22 foreach (array('the_content', 'the_excerpt', 'widget_text', 'comment_text', 'comment_excerpt') as $filter) { 23 24 add_filter($filter, array('\wpes\wpes', 'filter'), 1000); 25 26 } 27 22 add_action('wp_head', ['\wpes\action', 'wp_head']); 23 add_action('wp_footer', ['\wpes\action', 'wp_footer']); 24 28 25 add_action('wp_enqueue_scripts', array('\wpes\action', 'wp_enqueue_scripts')); -
emailscrambler/trunk/classes/action.class.php
r2230759 r2230779 23 23 } // public static function wp_head() : void 24 24 25 public static function wp_foot () : void {25 public static function wp_footer() : void { 26 26 27 27 ob_end_flush(); -
emailscrambler/trunk/emailscrambler.php
r2230760 r2230779 20 20 require_once dirname(__FILE__).'/classes/action.class.php'; 21 21 22 foreach (array('the_content', 'the_excerpt', 'widget_text', 'comment_text', 'comment_excerpt') as $filter) { 23 24 add_filter($filter, array('\wpes\wpes', 'filter'), 1000); 25 26 } 27 22 add_action('wp_head', ['\wpes\action', 'wp_head']); 23 add_action('wp_footer', ['\wpes\action', 'wp_footer']); 24 28 25 add_action('wp_enqueue_scripts', array('\wpes\action', 'wp_enqueue_scripts'));
Note: See TracChangeset
for help on using the changeset viewer.