Changes in trunk/wp-admin/options-writing.php [17056:15132]
- File:
-
- 1 edited
-
trunk/wp-admin/options-writing.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-writing.php
r17056 r15132 20 20 '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 21 21 '<p><strong>' . __('For more information:') . '</strong></p>' . 22 '<p>' . __('<a href="http://codex.wordpress.org/Settings_Writing_SubPanel" target="_blank"> Documentation on Writing Settings</a>') . '</p>' .22 '<p>' . __('<a href="http://codex.wordpress.org/Settings_Writing_SubPanel" target="_blank">Writing Settings Documentation</a>') . '</p>' . 23 23 '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 24 24 ); … … 57 57 </td> 58 58 </tr> 59 <?php60 if ( current_theme_supports( 'post-formats' ) ) :61 $post_formats = get_theme_support( 'post-formats' );62 if ( is_array( $post_formats[0] ) ) :63 ?>64 <tr valign="top">65 <th scope="row"><label for="default_post_format"><?php _e('Default Post Format') ?></label></th>66 <td>67 <select name="default_post_format" id="default_post_format">68 <option value="0"><?php _e('Standard'); ?></option>69 <?php foreach ( $post_formats[0] as $format ): ?>70 <option<?php selected( get_option('default_post_format'), $format ); ?> value="<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></option>71 <?php endforeach; ?>72 </select></label>73 </td>74 </tr>75 <?php endif; endif; ?>76 59 <tr valign="top"> 77 60 <th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th> … … 155 138 <p><label for="ping_sites"><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></label></p> 156 139 157 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites')); ?></textarea>140 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php form_option('ping_sites'); ?></textarea> 158 141 159 142 <?php else : ?> … … 166 149 <?php do_settings_sections('writing'); ?> 167 150 168 <?php submit_button(); ?> 151 <p class="submit"> 152 <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" /> 153 </p> 169 154 </form> 170 155 </div>
Note: See TracChangeset
for help on using the changeset viewer.