Changeset 629 for trunk/wp-includes/vars.php
- Timestamp:
- 12/18/2003 09:45:34 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/vars.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/vars.php
r628 r629 1 1 <?php 2 2 3 /* This file sets various arrays and variables for use in b2*/4 5 # b2version6 $wp_version = ' 0.80';7 8 # BBcode search and replace arrays3 /* 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 9 9 $wp_bbcode['in'] = array( 10 10 '#\[b](.+?)\[/b]#is', // Formatting tags … … 36 36 ); 37 37 38 # GreyMatter formatting search and replace arrays38 # GreyMatter formatting search and replace arrays 39 39 $wp_gmcode['in'] = array( 40 40 '#\\*\*(.+?)\\*\*#is', // **bold** … … 48 48 ); 49 49 50 # Translation of HTML entities and special characters50 # Translation of HTML entities and special characters 51 51 $wp_htmltrans = array_flip(get_html_translation_table(HTML_ENTITIES)); 52 52 $wp_htmltrans['<'] = '<'; # preserve HTML … … 98 98 $wp_htmltrans = array_merge($wp_htmltrans,$wp_htmltransbis); 99 99 100 # Translation of invalid Unicode references range to valid range100 # Translation of invalid Unicode references range to valid range 101 101 $wp_htmltranswinuni = array( 102 102 '€' => '€', // the Euro sign … … 270 270 } 271 271 272 add_filter('all', 'wptexturize');273 add_filter('the_content', 'wpautop');274 add_filter('comment_text', 'wpautop');275 // Uncomment the following for Textile support276 //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.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. 279 279 ?>
Note: See TracChangeset
for help on using the changeset viewer.