Making WordPress.org


Ignore:
Timestamp:
12/16/2016 08:22:57 PM (9 years ago)
Author:
coffee2code
Message:

Support Forums: Add 'Active Topics' link to sidebar for plugin and theme support forums.

Fixes #2202.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-plugin-directory-compat.php

    r4072 r4553  
    9797        $faq     = sprintf( '<a href="//wordpress.org/plugins/%s/faq/">Frequently Asked Questions</a>', esc_attr( $this->slug() ) );
    9898        $support = sprintf( '<a href="//wordpress.org/support/plugin/%s/">Support Threads</a>', esc_attr( $this->slug() ) );
     99        $active  = sprintf( '<a href="//wordpress.org/support/plugin/%s/active">%s</a>', esc_attr( $this->slug() ), __( 'Active Topics', 'wporg-forums' ) );
    99100        $reviews = sprintf( '<a href="//wordpress.org/support/plugin/%s/reviews/">Reviews</a>', esc_attr( $this->slug() ) );
    100101        ?>
     
    108109                <?php endif; ?>
    109110                <li><?php echo $support; ?></li>
     111                <li><?php echo $active; ?></li>
    110112                <li><?php echo $reviews; ?></li>
    111113            </ul>
Note: See TracChangeset for help on using the changeset viewer.