WordPress.org

Make WordPress Core

Changeset 5177


Ignore:
Timestamp:
04/04/07 04:25:44 (7 years ago)
Author:
rob1n
Message:

Add exit hook to wp_delete_link(). Props kevinB. fixes #4078

File:
1 edited

Legend:

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

    r5162 r5177  
    425425    $wpdb->query("DELETE FROM $wpdb->link2cat WHERE link_id = '$link_id'"); 
    426426    return $wpdb->query("DELETE FROM $wpdb->links WHERE link_id = '$link_id'"); 
     427     
     428    do_action('deleted_link', $link_id); 
    427429} 
    428430 
Note: See TracChangeset for help on using the changeset viewer.