Ticket #23503: 23503.patch
File 23503.patch, 2.4 KB (added by , 12 years ago) |
---|
-
wp-admin/edit-form-advanced.php
332 332 <?php 333 333 if ( post_type_supports( $post_type, 'post-formats' ) ) { 334 334 $all_post_formats = get_post_format_strings(); 335 $all_post_formats['standard'] = _x( 'Standard', 'Post format tab' ); 335 336 336 337 echo '<h2 class="nav-tab-wrapper post-format-select">'; 337 338 -
wp-admin/includes/meta-boxes.php
315 315 $post_formats[0][] = $post_format; 316 316 ?> 317 317 <div id="post-formats-select"> 318 <input type="radio" name="post_format" class="post-format" id="post-format-0" value="0" <?php checked( $post_format, '0' ); ?> /> <label for="post-format-0"><?php _e ('Standard'); ?></label>318 <input type="radio" name="post_format" class="post-format" id="post-format-0" value="0" <?php checked( $post_format, '0' ); ?> /> <label for="post-format-0"><?php _ex( 'Standard', 'Post format' ); ?></label> 319 319 <?php foreach ( $post_formats[0] as $format ) : ?> 320 320 <br /><input type="radio" name="post_format" class="post-format" id="post-format-<?php echo esc_attr( $format ); ?>" value="<?php echo esc_attr( $format ); ?>" <?php checked( $post_format, $format ); ?> /> <label for="post-format-<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></label> 321 321 <?php endforeach; ?><br /> -
wp-admin/options-writing.php
87 87 <th scope="row"><label for="default_post_format"><?php _e('Default Post Format') ?></label></th> 88 88 <td> 89 89 <select name="default_post_format" id="default_post_format"> 90 <option value="0"><?php _e ('Standard'); ?></option>90 <option value="0"><?php _ex( 'Standard', 'Post format' ); ?></option> 91 91 <?php foreach ( $post_formats[0] as $format ): ?> 92 92 <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> 93 93 <?php endforeach; ?>