Make WordPress Core

Changeset 882


Ignore:
Timestamp:
02/17/2004 02:51:26 AM (21 years ago)
Author:
michelvaldrighi
Message:

Time Cube Proves You Stupid & Evil\!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upgrade-functions.php

    r878 r882  
    709709
    710710    // Add blog_charset option
    711     $wpdb->query("INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (93, 1, 'blog_charset', 'Y', 3, 'utf-8', 20, 8, 'your blog\'s charset (here\'s a <a href=\"http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html\">list of possible charsets</a>)', 8)");
     711    if(!$wpdb->get_var("SELECT * FROM $tableoptiongroup_options WHERE option_id = '93'")) {
     712            $wpdb->query("INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES (93, 1, 'blog_charset', 'Y', 3, 'utf-8', 20, 8, 'your blog\'s charset (here\'s a <a href=\"http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html\">list of possible charsets</a>)', 8)");
     713    }
    712714
    713715}
Note: See TracChangeset for help on using the changeset viewer.