Changeset 11941
- Timestamp:
- 04/03/2018 10:47:58 AM (8 years ago)
- Location:
- trunk/src/bp-core/deprecated
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/deprecated/2.8.php
r11743 r11941 20 20 */ 21 21 function bp_core_admin_is_running_php53_or_greater() { 22 _deprecated_function( __FUNCTION__, '2.8' ); 22 23 return version_compare( PHP_VERSION, '5.3', '>=' ); 23 24 } … … 71 72 */ 72 73 function bp_core_admin_remove_buddypress_from_update_transient( $retval ) { 74 _deprecated_function( __FUNCTION__, '2.8' ); 75 73 76 $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php'; 74 77 … … 97 100 */ 98 101 function bp_core_admin_php52_plugin_row( $file, $plugin_data ) { 102 _deprecated_function( __FUNCTION__, '2.8' ); 103 99 104 if ( is_multisite() && ! is_network_admin() ) { 100 105 return; … … 157 162 */ 158 163 function bp_core_admin_php53_admin_notice() { 164 _deprecated_function( __FUNCTION__, '2.8' ); 165 159 166 // If not on the Plugins page, stop now. 160 167 if ( 'plugins' !== get_current_screen()->parent_base ) { -
trunk/src/bp-core/deprecated/3.0.php
r11940 r11941 21 21 */ 22 22 function bp_is_group_forums_active( $default = false ) { 23 _deprecated_function( __FUNCTION__, '3.0', 'groups_get_group( $id )->enable_forum' ); 24 23 25 $is_active = function_exists( 'bbp_is_group_forums_active' ) ? bbp_is_group_forums_active( $default ) : $default; 24 26 … … 45 47 */ 46 48 function bp_is_user_forums() { 49 _deprecated_function( __FUNCTION__, '3.0', 'legacy forum support removed' ); 47 50 return false; 48 51 } … … 58 61 */ 59 62 function bp_is_group_forum() { 63 _deprecated_function( __FUNCTION__, '3.0', 'legacy forum support removed' ); 60 64 return false; 61 65 } … … 71 75 */ 72 76 function bp_group_new_topic_button( $group = false ) { 77 _deprecated_function( __FUNCTION__, '3.0', 'legacy forum support removed' ); 73 78 } 74 79
Note: See TracChangeset
for help on using the changeset viewer.