Changeset 42671
- Timestamp:
- 02/08/2018 10:57:14 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options.php
r42648 r42671 291 291 <th scope="row"><label for="<?php echo $name; ?>"><?php echo esc_html( $option->option_name ); ?></label></th> 292 292 <td> 293 <?php if ( strpos( $value, "\n" ) !== false ) : ?> 294 <textarea class="<?php echo $class; ?>" name="<?php echo $name; ?>" id="<?php echo $name; ?>" cols="30" rows="5"> 295 <?php 296 echo esc_textarea( $value ); 297 ?> 298 </textarea> 293 <?php if ( strpos( $value, "\n" ) !== false ) : ?> 294 <textarea class="<?php echo $class; ?>" name="<?php echo $name; ?>" id="<?php echo $name; ?>" cols="30" rows="5"><?php echo esc_textarea( $value ); ?></textarea> 299 295 <?php else : ?> 300 296 <input class="regular-text <?php echo $class; ?>" type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr( $value ); ?>"<?php disabled( $disabled, true ); ?> />
Note: See TracChangeset
for help on using the changeset viewer.