Changeset 1173861
- Timestamp:
- 06/03/2015 07:13:09 PM (9 years ago)
- Location:
- text-filter-suite/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
text-filter-suite/trunk/readme.txt
r992277 r1173861 4 4 Tags: content, comments, filters, fun, funny, humor, pirates, talklikeapirate, talk like a pirate, pirate day 5 5 Requires at least: 1.5 6 Tested up to: 4. 06 Tested up to: 4. 7 7 Stable tag: 1.3 8 8 … … 102 102 103 103 == Changelog == 104 105 106 107 104 108 = 1.3 - 2012-09-18 = 105 109 * Fixed PHP opening shorttag in tfs-acroymit.php -
text-filter-suite/trunk/tfs-core.php
r600718 r1173861 6 6 * Author: Dougal Campbell 7 7 * Author URI: http://dougal.gunters.org/ 8 * Version: 1. 38 * Version: 1. 9 9 * License: GPL2, GPL3 10 10 * … … 45 45 * heavily on a site with a lot of traffic, caching might be a good idea. 46 46 */ 47 48 49 50 51 52 53 47 54 48 55 // An idea from Simon Willison (http://simon.incutio.com/) … … 105 112 106 113 function tfs_init() { 114 115 107 116 // Don't filter feeds, it causes headaches. 108 117 if ( is_feed() ) { … … 115 124 add_filter('comment_text','tfs_comment_filter'); 116 125 117 /* 126 118 127 // Using REQUEST so that you could set the filter in 119 128 // a cookie, for persistence, if you wanted. 120 129 $filtname = $_REQUEST['filter']; 121 130 122 if (function_exists($filtname)) { 131 if (function_exists($filtname) && 132 in_array($filtname, $tfs_allowed_funcs)) { 123 133 add_filter('category_description',$filtname); 124 134 add_filter('comment_author',$filtname); … … 131 141 add_filter('list_cats',$filtname); 132 142 } 133 */ 143 134 144 } 135 145
Note: See TracChangeset
for help on using the changeset viewer.