Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/20/2011 12:57:43 AM (15 years ago)
Author:
johnjamesjacoby
Message:

First pass at v2 theme compatibility:

  • Remove references to current_theme_supports()
  • Introduce bbp_locate_template() to include theme compat path
  • Use bbp_locate_template() through-out project
  • See #1691
File:
1 edited

Legend:

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

    r3563 r3623  
    209209        <div class="versions">
    210210
    211                 <p>
    212                         <?php
    213                                 if ( current_theme_supports( 'bbpress' ) )
    214                                         _e( 'Theme is using <strong>custom bbPress</strong> styling.', 'bbpress' );
    215                                 else
    216                                         _e( 'Theme is using <strong>default bbPress</strong> styling.', 'bbpress' );
    217                         ?>
    218                 </p>
    219 
    220211                <span id="wp-version-message">
    221212                        <?php printf( __( 'You are using <span class="b">bbPress %s</span>.', 'bbpress' ), bbp_get_version() ); ?>
Note: See TracChangeset for help on using the changeset viewer.