WordPress.org

Make WordPress Core

Ticket #19570: post-format-tip.diff

File post-format-tip.diff, 518 bytes (added by kopepasah, 13 months ago)

Patch for displaying the current post format on the post format tip.

  • wp-admin/edit-form-advanced.php

     
    397397 
    398398<?php if ( ! empty( $post_format_options ) ) : ?> 
    399399<div class="post-format-options"> 
    400         <span class="post-format-tip">Standard Post</span> 
     400        <span class="post-format-tip"><?php echo ucwords( $post_format ); ?> Post</span> 
    401401        <?php echo $post_format_options; ?> 
    402402</div> 
    403403<?php endif; ?>