Changeset 4144 for trunk/wp-admin/options-writing.php
- Timestamp:
- 08/30/2006 09:46:31 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-writing.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-writing.php
r4133 r4144 22 22 <td> 23 23 <label for="rich_editing"> 24 <input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', get_ settings('rich_editing')); ?> />24 <input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', get_option('rich_editing')); ?> /> 25 25 <?php _e('Users should use the visual rich editor by default') ?></label><br /> 26 26 <label for="use_smilies"> 27 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_ settings('use_smilies')); ?> />27 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> /> 28 28 <?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br /> 29 <label for="use_balanceTags"><input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked('1', get_ settings('use_balanceTags')); ?> /> <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label>29 <label for="use_balanceTags"><input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked('1', get_option('use_balanceTags')); ?> /> <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label> 30 30 </td> 31 31 </tr> … … 36 36 $categories = $wpdb->get_results("SELECT * FROM $wpdb->categories ORDER BY cat_name"); 37 37 foreach ($categories as $category) : 38 if ($category->cat_ID == get_ settings('default_category')) $selected = " selected='selected'";38 if ($category->cat_ID == get_option('default_category')) $selected = " selected='selected'"; 39 39 else $selected = ''; 40 40 echo "\n\t<option value='$category->cat_ID' $selected>$category->cat_name</option>"; … … 48 48 <?php 49 49 foreach ($categories as $category) : 50 if ($category->cat_ID == get_ settings('default_link_category')) $selected = " selected='selected'";50 if ($category->cat_ID == get_option('default_link_category')) $selected = " selected='selected'"; 51 51 else $selected = ''; 52 52 echo "\n\t<option value='$category->cat_ID' $selected>$category->cat_name</option>"; … … 85 85 //Alreay have $categories from default_category 86 86 foreach ($categories as $category) : 87 if ($category->cat_ID == get_ settings('default_email_category')) $selected = " selected='selected'";87 if ($category->cat_ID == get_option('default_email_category')) $selected = " selected='selected'"; 88 88 else $selected = ''; 89 89 echo "\n\t<option value='$category->cat_ID' $selected>$category->cat_name</option>";
Note: See TracChangeset
for help on using the changeset viewer.