Changes in trunk/wp-admin/options-writing.php [15132:17056]
- File:
-
- 1 edited
-
trunk/wp-admin/options-writing.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-writing.php
r15132 r17056 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"> Writing Settings Documentation</a>') . '</p>' .22 '<p>' . __('<a href="http://codex.wordpress.org/Settings_Writing_SubPanel" target="_blank">Documentation on Writing Settings</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 <?php 60 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; ?> 59 76 <tr valign="top"> 60 77 <th scope="row"><label for="default_link_category"><?php _e('Default Link Category') ?></label></th> … … 138 155 <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> 139 156 140 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php form_option('ping_sites'); ?></textarea>157 <textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites') ); ?></textarea> 141 158 142 159 <?php else : ?> … … 149 166 <?php do_settings_sections('writing'); ?> 150 167 151 <p class="submit"> 152 <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" /> 153 </p> 168 <?php submit_button(); ?> 154 169 </form> 155 170 </div>
Note: See TracChangeset
for help on using the changeset viewer.