Make WordPress Core

Ticket #15376: FormatsHelpReferMetabox.patch

File FormatsHelpReferMetabox.patch, 764 bytes (added by dougwrites, 14 years ago)

@Nacin: This adds the generic help text to the Formats meta box, which just refers people to the help tab.

  • meta-boxes.php

     
    258258                <?php foreach ( $post_formats[0] as $format ) : ?>
    259259                <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>
    260260                <?php endforeach; ?><br />
     261<p><?php if ( 'post' == $post->post_type ) _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?></p>
    261262        </div>
    262263        <?php endif; endif;
    263264}