WordPress Security Update

There’s a security update for WP. More info can be read here (WP Dev Blog) and on Blogging Pro.

Basically you just need to insert one line in /wp-includes/template-functions-category.php, somewhere after line 130:

function get_the_category_by_ID($cat_ID) {
$cat_ID = (int) $cat_ID;
$category = &get_category($cat_ID);
return $category->cat_name;
}

The bolded code is what you have to add.