Making WordPress.org


Ignore:
Timestamp:
08/10/2016 05:22:41 PM (7 years ago)
Author:
jmdodd
Message:

Forums Theme: Add editable topic resolution to single topic pages.

See #1544, #1873.

File:
1 edited

Legend:

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

    r3741 r3798  
    272272        <li class="wp-version"><?php echo esc_html( $wp_version ); ?></li>
    273273    <?php endif; ?>
     274    <?php if ( function_exists( 'WordPressdotorg\Forums\Topic_Resolution\get_topic_resolution_form' ) ) : ?>
     275        <?php if ( WordPressdotorg\Forums\Topic_Resolution\Plugin::get_instance()->is_enabled_on_forum() ) : ?>
     276            <li class="topic-resolved"><?php WordPressdotorg\Forums\Topic_Resolution\get_topic_resolution_form( $topic_id ); ?></li>
     277        <?php endif; ?>
     278    <?php endif; ?>
    274279
    275280    <?php
Note: See TracChangeset for help on using the changeset viewer.