Ticket #23503: 23503.post-format-tip.patch
File 23503.post-format-tip.patch, 1.2 KB (added by , 12 years ago) |
---|
-
wp-admin/edit-form-advanced.php
183 183 $active_post_format_description = $attr['description']; 184 184 } 185 185 186 $post_format_options .= '<a ' . $class . ' href="?format=' . $slug . '" data-description="' . $attr['description'] . '" data-wp-format="' . $slug . '" title="' . ucfirst( sprintf( __( '%s Post' ), $slug ) ) . '"><div class="' . $slug . '"></div></a>';186 $post_format_options .= '<a ' . $class . ' href="?format=' . $slug . '" data-description="' . $attr['description'] . '" data-wp-format="' . $slug . '" title="' . ucfirst( sprintf( __( '%s' ), $slug ) ) . '"><div class="' . $slug . '"></div></a>'; 187 187 } 188 188 189 189 $current_post_format = array( 'currentPostFormat' => esc_html( $active_post_type_slug ) ); … … 397 397 398 398 <?php if ( ! empty( $post_format_options ) ) : ?> 399 399 <div class="post-format-options"> 400 <span class="post-format-tip"> Standard Post</span>400 <span class="post-format-tip"><?php ucfirst( _e( $post_format ) ); ?></span> 401 401 <?php echo $post_format_options; ?> 402 402 </div> 403 403 <?php endif; ?>