Monthly Archive for November, 2007

Garfield Found Hanged

Yes, I’m not joking. Garfield was found hanging from a branch of a mango tree. Actually, it’s another joke made by mom in which, according to her it would scare the monkeys away.

Remove WordPress rsd_link(), wlwmanifest_link(), wp_generator()

rsd_link(), wlwmanifest_link(), wp_generator() (introduced in revision 6195) are bunch of WordPress default filters that clutter the <head></head> section of your theme template file:

<head>

<link rel="EditURI" type="application/rsd xml" title="RSD"
href="http://zeo.unic.net.my/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest xml"
href="http://zeo.unic.net.my/wp-includes/wlwmanifest.xml" />
<meta name="generator" content="WordPress/2.4-bleeding" />

</head>

Not using it?
Simply remove those lines by adding the following to your theme functions.php:

remove_action(’wp_head’, ‘rsd_link’);
remove_action(’wp_head’, ‘wlwmanifest_link’);

if (function_exists(’wp_generator’)) {
remove_action(’wp_head’, ‘wp_generator’);
}

Update:

remove_action(’wp_head’, ‘rsd_link’);
remove_action(’wp_head’, ‘wlwmanifest_link’);

function [...]