Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/22/2012 12:18:25 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Add attributes to forum/topic/reply contextual help. Props Mamaduka. Fixes #1699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-replies.php

    r3686 r3688  
    217217
    218218        if ( current_theme_supports( 'reply-formats' ) && reply_type_supports( 'reply', 'reply-formats' ) ) {
    219             $publish_box .= '<p>' . __( '<strong>reply Format</strong> - This designates how your theme will display a specific reply. For example, you could have a <em>standard</em> blog reply 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/reply_Formats#Supported_Formats">descriptions of each reply format</a>. Your theme could enable all or some of 10 possible formats.', 'bbpress' ) . '</p>';
     219            $publish_box .= '<p>' . __( '<strong>reply Format</strong> - This designates how your theme will display a specific reply. For example, you could have a <em>standard</em> blog reply 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 reply format</a>. Your theme could enable all or some of 10 possible formats.', 'bbpress' ) . '</p>';
    220220        }
    221221
     
    223223            $publish_box .= '<p>' . __( '<strong>Featured Image</strong> - This allows you to associate an image with your reply without inserting it. This is usually useful only if your theme makes use of the featured image as a reply thumbnail on the home page, a custom header, etc.', 'bbpress' ) . '</p>';
    224224        }
     225
     226        $current_screen->add_help_tab( array(
     227            'id'      => 'reply-attributes',
     228            'title'   => __( 'Reply Attributes', 'bbpress' ),
     229            'content' =>
     230                '<p>' . __( 'Select the attributes that your reply should have:', 'bbpress' ) . '</p>' .
     231                '<ul>' .
     232                    '<li>' . __( '<strong>Forum</strong> dropdown determines the parent forum that the reply belongs to. Select the forum, or leave the default (Use Forum of Topic) to post the reply in forum of the topic.', 'bbpress' ) . '</li>' .
     233                    '<li>' . __( '<strong>Topic</strong> determines the parent topic that the reply belongs to.', 'bbpress' ) . '</li>' .
     234                '</ul>'
     235        ) );
    225236
    226237        $current_screen->add_help_tab( array(
Note: See TracChangeset for help on using the changeset viewer.