Skip to:
Content

BuddyPress.org

Changeset 11941


Ignore:
Timestamp:
04/03/2018 10:47:58 AM (4 years ago)
Author:
djpaul
Message:

Core: fix missing deprecation notice for certain functions.

See #7738

Location:
trunk/src/bp-core/deprecated
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/deprecated/2.8.php

    r11743 r11941  
    2020 */
    2121function bp_core_admin_is_running_php53_or_greater() {
     22    _deprecated_function( __FUNCTION__, '2.8' );
    2223    return version_compare( PHP_VERSION, '5.3', '>=' );
    2324}
     
    7172 */
    7273function bp_core_admin_remove_buddypress_from_update_transient( $retval ) {
     74    _deprecated_function( __FUNCTION__, '2.8' );
     75
    7376    $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php';
    7477
     
    97100 */
    98101function bp_core_admin_php52_plugin_row( $file, $plugin_data ) {
     102    _deprecated_function( __FUNCTION__, '2.8' );
     103
    99104    if ( is_multisite() && ! is_network_admin() ) {
    100105        return;
     
    157162 */
    158163function bp_core_admin_php53_admin_notice() {
     164    _deprecated_function( __FUNCTION__, '2.8' );
     165
    159166    // If not on the Plugins page, stop now.
    160167    if ( 'plugins' !== get_current_screen()->parent_base ) {
  • trunk/src/bp-core/deprecated/3.0.php

    r11940 r11941  
    2121 */
    2222function bp_is_group_forums_active( $default = false ) {
     23    _deprecated_function( __FUNCTION__, '3.0', 'groups_get_group( $id )->enable_forum' );
     24
    2325    $is_active = function_exists( 'bbp_is_group_forums_active' ) ? bbp_is_group_forums_active( $default ) : $default;
    2426
     
    4547 */
    4648function bp_is_user_forums() {
     49    _deprecated_function( __FUNCTION__, '3.0', 'legacy forum support removed' );
    4750    return false;
    4851}
     
    5861 */
    5962function bp_is_group_forum() {
     63    _deprecated_function( __FUNCTION__, '3.0', 'legacy forum support removed' );
    6064    return false;
    6165}
     
    7175 */
    7276function bp_group_new_topic_button( $group = false ) {
     77    _deprecated_function( __FUNCTION__, '3.0', 'legacy forum support removed' );
    7378}
    7479
Note: See TracChangeset for help on using the changeset viewer.