Message info
 
To:buddypress-trac@lists.automattic.com From:buddypress-trac@lists.automattic.com Subject:[buddypress-trac] [BuddyPress][6039] trunk/bp-core/deprecated/1.6.php: Properly deprecate bp_core_add_admin_menu_styles. Date:Tue, 15 May 2012 09:05:07 +0000 (UTC)
 

Revision
6039
Author
djpaul
Date
2012-05-15 09:05:07 +0000 (Tue, 15 May 2012)

Log Message

Properly deprecate bp_core_add_admin_menu_styles. Clears a backpat PHP warning with certain plugins. Fixes #4207

Modified Paths

Diff

Modified: trunk/bp-core/deprecated/1.6.php (6038 => 6039)


--- trunk/bp-core/deprecated/1.6.php	2012-05-15 08:59:38 UTC (rev 6038)
+++ trunk/bp-core/deprecated/1.6.php	2012-05-15 09:05:07 UTC (rev 6039)
@@ -107,6 +107,20 @@
 }
 
 /**
+ * Admin functions
+ */
+
+/**
+ * Loads admin panel styles and scripts.
+ *
+ * @deprecated 1.6
+ * @deprecated No longer used.
+ */
+function bp_core_add_admin_menu_styles() {
+	_deprecated_function( __FUNCTION__, '1.6' );
+}
+
+/**
  * Activity functions
  */