I'm thinking that I must be applying the filter incorrectly.
I did some further testing and it always worked like this…
when I input "21782<wjk&*>/dwd",
it returns "21782/dwd"
and when I input "21782<wjk&9jjijk",
it returns "21782"
So the first filter didn't seem to affect anything either–therefore, I'm probably applying the filter incorrectly.
The functions.php file that I'm pasting the code into is root/wp-content/themes/current_theme/functions.php. The only thing that I've been removing is the top <?php b/c dreamweaver shows a syntax error.
The code for the functions.php file is here http://pastebin.com/bMx9g7rs
Thanks again for your help. I appreciate it.
Posted 13 years ago on Monday November 7, 2011 |
Permalink