Funny WordPress Plugin Sneaks In
One of the annoyances we have at b5media is when people spell our company name wrong. We’ve even had our own people spell the name wrong. So annoying. :-)
Somewhere along the line last year, this universal plugin snuck into our build. I don’t know where it came from or who wrote it. (whistles) It solves the problem though. :)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 <?php
/*
Plugin Name: Spell the Fucking Name Right
Description: b5media is spelled lower case b number 5 no space lowercase media
*/
function b5_is_spelled_with_a_lowercase_b_and_no_space( $content )
{
return str_replace(array('B5media', 'B5 media', 'B5 Media'), 'b5media', $content);
}
apply_filters('the_content', 'b5_is_spelled_with_a_lowercase_b_and_no_space');
apply_filters('the_title', 'b5_is_spelled_with_a_lowercase_b_and_no_space');
?>
Pick up your copy of the WordPress Bible, a wildly popular resource for beginners and experts alike.
Popularity: 1% [?]



Ah, this is a universal blog network (9rules) problem? ;)
That is awesome. Love the blog keep up the great work.
Haha nice! I like the plugin name!
LOL! May be 9rules are thinking about using it. :D
love it :)
love it :)
love it :)