Make WordPress Core


Ignore:
Timestamp:
12/18/2003 09:45:34 AM (22 years ago)
Author:
saxmatt
Message:

Formatting changes and version bump.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/vars.php

    r628 r629  
    11<?php
    22
    3 /* This file sets various arrays and variables for use in b2 */
    4 
    5 #b2 version
    6 $wp_version = '0.80';
    7 
    8 #BBcode search and replace arrays
     3/* This file sets various arrays and variables for use in WordPress */
     4
     5# WordPress version
     6$wp_version = '1.0-alpha-1';
     7
     8# BBcode search and replace arrays
    99$wp_bbcode['in'] = array(
    1010    '#\[b](.+?)\[/b]#is',       // Formatting tags
     
    3636);
    3737
    38 #GreyMatter formatting search and replace arrays
     38# GreyMatter formatting search and replace arrays
    3939$wp_gmcode['in'] = array(
    4040    '#\\*\*(.+?)\\*\*#is',      // **bold**
     
    4848);
    4949
    50 #Translation of HTML entities and special characters
     50# Translation of HTML entities and special characters
    5151$wp_htmltrans = array_flip(get_html_translation_table(HTML_ENTITIES));
    5252$wp_htmltrans['<'] = '<';   # preserve HTML
     
    9898$wp_htmltrans = array_merge($wp_htmltrans,$wp_htmltransbis);
    9999
    100 #Translation of invalid Unicode references range to valid range
     100# Translation of invalid Unicode references range to valid range
    101101$wp_htmltranswinuni = array(
    102102    '&#128;' => '&#8364;', // the Euro sign
     
    270270}
    271271
    272     add_filter('all', 'wptexturize');
    273     add_filter('the_content', 'wpautop');
    274     add_filter('comment_text', 'wpautop');
    275     // Uncomment the following for Textile support
    276     //include_once('textile.php');
    277     //add_filter('the_content', 'textile');
    278     // There is some duplication of effort so textile.php really should be tweaked to eliminate that.
     272add_filter('all', 'wptexturize');
     273add_filter('the_content', 'wpautop');
     274add_filter('comment_text', 'wpautop');
     275// Uncomment the following for Textile support
     276// include_once('textile.php');
     277// add_filter('the_content', 'textile');
     278// There is some duplication of effort so textile.php really should be tweaked to eliminate that.
    279279?>
Note: See TracChangeset for help on using the changeset viewer.