Skip to:
Content

BuddyPress.org

Changeset 2756


Ignore:
Timestamp:
02/22/2010 12:31:40 PM (15 years ago)
Author:
apeatling
Message:

Make sure there is a link to the template pack plugin for those who want to upgrade their existing WordPress theme to support BuddyPress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core.php

    r2753 r2756  
    20442044        $ct = current_theme_info();
    20452045
    2046         if ( !in_array( 'buddypress', (array)$ct->tags ) ) { ?>
     2046        /* The best way to remove this notice is to add a "buddypress" tag to your active theme's CSS header. */
     2047        if ( !defined( 'BP_SILENCE_THEME_NOTICE' ) && !in_array( 'buddypress', (array)$ct->tags ) ) { ?>
    20472048            <div id="message" class="updated fade">
    2048                 <p style="line-height: 150%"><?php printf( __( "<strong>BuddyPress is ready</strong>. You'll need to <a href='%s'>activate a BuddyPress compatible theme</a> to take advantage of all of the features. We've bundled a default theme, but you can always <a href='%s'>install some other compatible themes</a>.", 'buddypress' ), admin_url( 'themes.php' ), admin_url( 'theme-install.php?type=tag&s=buddypress&tab=search' ) ) ?></p>
     2049                <p style="line-height: 150%"><?php printf( __( "<strong>BuddyPress is ready</strong>. You'll need to <a href='%s'>activate a BuddyPress compatible theme</a> to take advantage of all of the features. We've bundled a default theme, but you can always <a href='%s'>install some other compatible themes</a> or <a href='%s'>upgrade your existing WordPress theme</a>.", 'buddypress' ), admin_url( 'themes.php' ), admin_url( 'theme-install.php?type=tag&s=buddypress&tab=search' ), admin_url( 'plugin-install.php?type=term&tab=search&s=bp-template-pack' ) ) ?></p>
    20492050            </div><?php
    20502051        }
Note: See TracChangeset for help on using the changeset viewer.