Making WordPress.org


Ignore:
Timestamp:
07/09/2017 04:32:00 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Add a template for single replies.

Also add a workaround for missing is_single query var so that bbpress and single-reply classes are properly added to <body>.

Fixes #2551.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sidebar.php

    r5139 r5638  
    4040            <?php do_action( 'wporg_compat_view_sidebar' ); ?>
    4141
    42         <?php elseif ( bbp_is_single_topic() || bbp_is_topic_edit() || bbp_is_reply_edit() ) : ?>
     42        <?php elseif ( bbp_is_single_topic() || bbp_is_topic_edit() || bbp_is_single_reply() || bbp_is_reply_edit() ) : ?>
    4343
    4444            <?php do_action( 'wporg_compat_single_topic_sidebar_pre' ); ?>
Note: See TracChangeset for help on using the changeset viewer.