WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/15/2004 03:09:39 PM (15 years ago)
Author:
saxmatt
Message:

Axing of geo stuff, major cleanups on permalink options, style tweaks.

File:
1 edited

Legend:

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

    r1638 r1664  
    106106  post_category int(4) NOT NULL default '0',
    107107  post_excerpt text NOT NULL,
    108   post_lat float default NULL,
    109   post_lon float default NULL,
    110108  post_status enum('publish','draft','private','static') NOT NULL default 'publish',
    111109  comment_status enum('open','closed','registered_only') NOT NULL default 'open',
     
    190188    add_option('date_format', 'F j, Y');
    191189    add_option('time_format', 'g:i a');
    192     add_option('use_geo_positions', 0);
    193     add_option('use_default_geourl', 0);
    194     add_option('default_geourl_lat', 0);
    195     add_option('default_geourl_lon', 0);
    196190    add_option('weblogs_xml_url', 'http://static.wordpress.org/changes.xml');
    197191    add_option('links_updated_date_format', 'F j, Y g:i a');
     
    220214
    221215    // Delete unused options
    222     $unusedoptions = array ('blodotgsping_url', 'bodyterminator', 'emailtestonly', 'phoneemail_separator', 'smilies_directory', 'subjectprefix', 'use_bbcode', 'use_blodotgsping', 'use_phoneemail', 'use_quicktags', 'use_weblogsping', 'weblogs_cache_file', 'use_preview', 'use_htmltrans', 'smilies_directory', 'rss_language', 'fileupload_allowedusers', 'use_phoneemail', 'default_post_status', 'default_post_category', 'archive_mode', 'time_difference', 'links_minadminlevel', 'links_use_adminlevels', 'links_rating_type', 'links_rating_char', 'links_rating_ignore_zero', 'links_rating_single_image', 'links_rating_image0', 'links_rating_image1', 'links_rating_image2', 'links_rating_image3', 'links_rating_image4', 'links_rating_image5', 'links_rating_image6', 'links_rating_image7', 'links_rating_image8', 'links_rating_image9', 'weblogs_cacheminutes', 'comment_allowed_tags', 'search_engine_friendly_urls');
     216    $unusedoptions = array ('blodotgsping_url', 'bodyterminator', 'emailtestonly', 'phoneemail_separator', 'smilies_directory', 'subjectprefix', 'use_bbcode', 'use_blodotgsping', 'use_phoneemail', 'use_quicktags', 'use_weblogsping', 'weblogs_cache_file', 'use_preview', 'use_htmltrans', 'smilies_directory', 'rss_language', 'fileupload_allowedusers', 'use_phoneemail', 'default_post_status', 'default_post_category', 'archive_mode', 'time_difference', 'links_minadminlevel', 'links_use_adminlevels', 'links_rating_type', 'links_rating_char', 'links_rating_ignore_zero', 'links_rating_single_image', 'links_rating_image0', 'links_rating_image1', 'links_rating_image2', 'links_rating_image3', 'links_rating_image4', 'links_rating_image5', 'links_rating_image6', 'links_rating_image7', 'links_rating_image8', 'links_rating_image9', 'weblogs_cacheminutes', 'comment_allowed_tags', 'search_engine_friendly_urls', 'default_geourl_lat', 'default_geourl_lon', 'use_default_geourl');
    223217    foreach ($unusedoptions as $option) :
    224218        delete_option($option);
Note: See TracChangeset for help on using the changeset viewer.