Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/15/2013 04:25:11 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Remove help documentation for unsupported core WordPress post features. See #2332 (2.3 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/includes/admin/topics.php

    r4883 r4908  
    210210        $publish_box = '<p>' . __( '<strong>Publish</strong> - You can set the terms of publishing your topic in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a topic or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a topic to be published in the future or backdate a topic.', 'bbpress' ) . '</p>';
    211211
    212         if ( current_theme_supports( 'topic-formats' ) && topic_type_supports( 'topic', 'topic-formats' ) ) {
    213             $publish_box .= '<p>' . __( '<strong>topic Format</strong> - This designates how your theme will display a specific topic. For example, you could have a <em>standard</em> blog topic with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Please refer to the Codex for <a href="http://codex.wordpress.org/Post_Formats#Supported_Formats">descriptions of each topic format</a>. Your theme could enable all or some of 10 possible formats.', 'bbpress' ) . '</p>';
    214         }
    215 
    216         if ( current_theme_supports( 'topic-thumbnails' ) && topic_type_supports( 'topic', 'thumbnail' ) ) {
     212        if ( current_theme_supports( 'topic-thumbnails' ) && post_type_supports( 'topic', 'thumbnail' ) ) {
    217213            $publish_box .= '<p>' . __( '<strong>Featured Image</strong> - This allows you to associate an image with your topic without inserting it. This is usually useful only if your theme makes use of the featured image as a topic thumbnail on the home page, a custom header, etc.', 'bbpress' ) . '</p>';
    218214        }
     
    233229            'title'   => __( 'Publish Box', 'bbpress' ),
    234230            'content' => $publish_box,
    235         ) );
    236 
    237         get_current_screen()->add_help_tab( array(
    238             'id'      => 'discussion-settings',
    239             'title'   => __( 'Discussion Settings', 'bbpress' ),
    240             'content' =>
    241                 '<p>' . __( '<strong>Send Trackbacks</strong> - Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. Enter the URL(s) you want to send trackbacks. If you link to other WordPress sites they&#8217;ll be notified automatically using pingbacks, and this field is unnecessary.', 'bbpress' ) . '</p>' .
    242                 '<p>' . __( '<strong>Discussion</strong> - You can turn comments and pings on or off, and if there are comments on the topic, you can see them here and moderate them.', 'bbpress' ) . '</p>'
    243231        ) );
    244232
Note: See TracChangeset for help on using the changeset viewer.