Make WordPress Core


Ignore:
Timestamp:
03/01/2004 07:55:45 PM (21 years ago)
Author:
saxmatt
Message:

Migration to get_settings and away from globals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions-formatting.php

    r956 r957  
    318318
    319319function convert_smilies($text) {
    320     global $smilies_directory, $use_smilies;
    321320    global $wp_smiliessearch, $wp_smiliesreplace;
    322321    $output = '';
    323     if ($use_smilies) {
     322    if (get_settings('use_smilies')) {
    324323        // HTML loop taken from texturize function, could possible be consolidated
    325324        $textarr = preg_split("/(<.*>)/U", $text, -1, PREG_SPLIT_DELIM_CAPTURE); // capture the tags as well as in between
Note: See TracChangeset for help on using the changeset viewer.