Make WordPress Core


Ignore:
Timestamp:
05/24/2004 08:22:18 AM (21 years ago)
Author:
saxmatt
Message:

Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-add.php

    r1200 r1355  
    77
    88function category_dropdown($fieldname, $selected = 0) {
    9     global $wpdb, $tablelinkcategories;
    10 
    11     $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle FROM $tablelinkcategories ORDER BY cat_id");
     9    global $wpdb;
     10
     11    $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle FROM $wpdb->linkcategories ORDER BY cat_id");
    1212    echo '        <select name="'.$fieldname.'" size="1">'."\n";
    1313    foreach ($results as $row) {
Note: See TracChangeset for help on using the changeset viewer.