WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-admin/admin-db.php

    r5092 r5289  
    149149    clean_category_cache($cat_ID);
    150150
     151    if ($update)
     152        do_action('edited_category', $cat_ID);
     153    else
     154        do_action('created_category', $cat_ID);
     155   
    151156    return $cat_ID;
    152157}
     
    416421    $wpdb->query("DELETE FROM $wpdb->link2cat WHERE link_id = '$link_id'");
    417422    return $wpdb->query("DELETE FROM $wpdb->links WHERE link_id = '$link_id'");
     423   
     424    do_action('deleted_link', $link_id);
    418425}
    419426
Note: See TracChangeset for help on using the changeset viewer.