diff --git a/bp-compliments.php b/bp-compliments.php index 2461cbe..61cb8d0 100644 --- a/bp-compliments.php +++ b/bp-compliments.php @@ -10,7 +10,7 @@ Plugin Name: BuddyPress Compliments Plugin URI: http://wpgeodirectory.com/ Description: Compliments module for BuddyPress. -Version: 1.0.1 +Version: 1.0.4 Author: GeoDirectory Author URI: http://wpgeodirectory.com */ @@ -19,7 +19,7 @@ if ( !defined( 'ABSPATH' ) ) exit; // Define the plugin version. -define( 'BP_COMPLIMENTS_VER', '1.0.1' ); +define( 'BP_COMPLIMENTS_VER', '1.0.4' ); /** * BuddyPress compliments text domain. @@ -68,12 +68,8 @@ function bp_compliments_init() { // show admin notice for users on BP 1.2.x } else { - $older_version_notice = __( "Hey! BP Compliments requires BuddyPress 1.5 or higher.", 'bp-compliments' ); - - add_action( 'admin_notices', create_function( '', " - echo '
' . $older_version_notice . '
$message
' . $older_version_notice . '