Changes in trunk/wp-admin/options.php [4656:4990]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options.php
r4656 r4990 79 79 } 80 80 81 return $value; 81 return $value; 82 82 } 83 83 … … 149 149 <td>"; 150 150 151 if (str istr($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>"; 152 152 else echo "<input class='$class' type='text' name='$option->option_name' id='$option->option_name' size='30' value='" . $value . "'$disabled />"; 153 153 154 154 echo "</td> 155 155 <td>$option->option_description</td>
Note: See TracChangeset
for help on using the changeset viewer.