Make WordPress Core


Ignore:
Timestamp:
03/06/2009 12:50:19 AM (18 years ago)
Author:
ryan
Message:

Add some default field types. see #7171

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r10624 r10725  
    247247require (ABSPATH . WPINC . '/functions.php');
    248248require (ABSPATH . WPINC . '/classes.php');
     249
     250$db_field_types = array( 'post_author' => '%d', 'post_date' => '%s', 'post_date_gmt' => '%s', 'post_content' => '%s', 'post_content_filtered' => '%s', 'post_title' => '%s',
     251                'post_excerpt' => '%s', 'post_status' => '%s', 'post_type' => '%s', 'comment_status' => '%s', 'ping_status' => '%s', 'post_password' => '%s', 'post_name' => '%s',
     252                'to_ping' => '%s', 'pinged' => '%s', 'post_modified' => '%s', 'post_modified_gmt' => '%s', 'post_parent' => '%d', 'menu_order' => '%d', 'guid' => '%s', 'term_id' => '%d',
     253                'name' => '%s', 'slug' => '%s', 'term_group' => '%d', 'term_taxonomy_id' => '%d', 'description' => '%s', 'taxonomy' => '%s', 'parent' => '%d', 'count' => '%d',
     254                'object_id' => '%d', 'term_order' => '%d');
    249255
    250256require_wp_db();
Note: See TracChangeset for help on using the changeset viewer.