Make WordPress Core

Ticket #2466: 2466 (2.0.x branch).diff

File 2466 (2.0.x branch).diff, 390 bytes (added by majelbstoat, 19 years ago)

2.0.4 branch patch that adds get_category filter.

  • functions.php

     
    747747                        wp_cache_add($category, $_category, 'category');
    748748                }
    749749        }
     750        $_category = apply_filters('get_category', $_category);
    750751
    751752        if ( !isset($_category->fullpath) ) {
    752753                $_category = set_category_path($_category);