Skip to:
Content

BuddyPress.org

Changeset 2011 for trunk/bp-core.php


Ignore:
Timestamp:
09/30/2009 05:30:40 PM (16 years ago)
Author:
apeatling
Message:

Adding upgrade readme message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r1995 r2011  
    17441744
    17451745/**
     1746 * bp_core_update_message()
     1747 *
     1748 * Add an extra update message to the update plugin notification.
     1749 *
     1750 * @package BuddyPress Core
     1751 */
     1752function bp_core_update_message() {
     1753    echo '<p style="color: red; margin: 3px 0 0 0; border-top: 1px solid #ddd; padding-top: 3px">IMPORTANT: <a href="http://codex.buddypress.org/getting-started/upgrading-from-10x/">Read this before attempting to update BuddyPress</p>';
     1754}
     1755add_action( 'in_plugin_update_message-buddypress/bp-loader.php', 'bp_core_update_message' );
     1756
     1757/**
    17461758 * bp_core_clear_user_object_cache()
    17471759 *
Note: See TracChangeset for help on using the changeset viewer.