Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options.php

    r4656 r4990  
    7979    }
    8080
    81     return $value; 
     81    return $value;
    8282}
    8383
     
    149149<td>";
    150150
    151     if (stristr($value, "\n")) echo "<textarea class='$class' name='$option->option_name' id='$option->option_name' cols='30' rows='5'>$value</textarea>";
     151    if (strpos($value, "\n") !== false) echo "<textarea class='$class' name='$option->option_name' id='$option->option_name' cols='30' rows='5'>$value</textarea>";
    152152    else echo "<input class='$class' type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . $value . "'$disabled />";
    153    
     153
    154154    echo "</td>
    155155    <td>$option->option_description</td>
Note: See TracChangeset for help on using the changeset viewer.