Make WordPress Core

Changeset 133


Ignore:
Timestamp:
06/01/2003 11:30:13 AM (22 years ago)
Author:
saxmatt
Message:

Clipped convert_chars, it's too slow and most people won't notice. We need to do the conversion on insert rather than display.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2-include/b2functions.php

    r125 r133  
    226226    $content = strtr($content, $b2_htmltrans);
    227227
     228    return $content;
     229   
     230    // the following is the slowest. code. ever.
     231    /*
    228232    for ($i=0; $i<strlen($content); $i=$i+1) {
    229233        $j = substr($content,$i,1);
     
    269273
    270274    return($newcontent);
     275    */
    271276}
    272277
Note: See TracChangeset for help on using the changeset viewer.