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/options-writing.php

    r1240 r1355  
    108108                <td><select name="default_category" id="default_category">
    109109<?php
    110 $categories = $wpdb->get_results("SELECT * FROM $tablecategories ORDER BY cat_name");
     110$categories = $wpdb->get_results("SELECT * FROM $wpdb->categories ORDER BY cat_name");
    111111foreach ($categories as $category) :
    112112if ($category->cat_ID == get_settings('default_category')) $selected = " selected='selected'";
Note: See TracChangeset for help on using the changeset viewer.