Skip to:
Content

bbPress.org

Ticket #1649: form-topic.patch

File form-topic.patch, 817 bytes (added by alex-ye, 9 years ago)
  • form-topic.php

    # This patch file was generated by NetBeans IDE
    # Following Index: paths are relative to: \templates\default\bbpress
    # Above lines and this line are ignored by the patching process.
     
    117117
    118118                                        <?php endif; ?>
    119119
    120                                         <?php if ( !bbp_is_single_forum() ) : ?>
     120                                        <?php if ( bbp_is_topic_edit() || !bbp_get_form_topic_forum() ) : ?>
    121121
    122122                                                <?php do_action( 'bbp_theme_before_topic_form_forum' ); ?>
    123123
     
    214214                </form>
    215215        </div>
    216216
    217 <?php elseif ( bbp_is_forum_closed() ) : ?>
     217<?php elseif ( bbp_is_forum_closed( bbp_get_form_topic_forum() ) ) : ?>
    218218
    219219        <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic">
    220220                <div class="bbp-template-notice">