Make WordPress Core


Ignore:
Timestamp:
07/05/2006 10:00:03 PM (20 years ago)
Author:
ryan
Message:

Use wp_die(). Props filosofo. fixes #2914

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update-links.php

    r3917 r3985  
    44
    55if ( !get_option('use_linksupdate') )
    6         die(__('Feature disabled.'));
     6        wp_die(__('Feature disabled.'));
    77
    88$link_uris = $wpdb->get_col("SELECT link_url FROM $wpdb->links");
    99
    1010if ( !$link_uris )
    11         die('No links');
     11        wp_die('No links');
    1212
    1313$link_uris = urlencode( join( $link_uris, "\n" ) );
Note: See TracChangeset for help on using the changeset viewer.