Make WordPress Core


Ignore:
Timestamp:
05/26/2006 10:47:13 PM (19 years ago)
Author:
ryan
Message:

Add some user filters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-db.php

    r3799 r3800  
    9494
    9595    $cat_name = apply_filters('pre_category_name', $cat_name);
    96     $category_nicename = apply_filters('pre_category_nicename', $category_nicename);
    97     $category_description = apply_filters('pre_category_description', $category_description);
    9896   
    9997    if (empty ($category_nicename))
     
    10199    else
    102100        $category_nicename = sanitize_title($category_nicename);
     101    $category_nicename = apply_filters('pre_category_nicename', $category_nicename);
    103102
    104103    if (empty ($category_description))
    105104        $category_description = '';
     105    $category_description = apply_filters('pre_category_description', $category_description);
    106106
    107107    $category_parent = (int) $category_parent;
Note: See TracChangeset for help on using the changeset viewer.