Skip to:
Content

BuddyPress.org

Changeset 4985


Ignore:
Timestamp:
08/15/2011 07:00:46 PM (14 years ago)
Author:
boonebgorges
Message:

Properly deprecate bp_is_profile_edit()

File:
1 edited

Legend:

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

    r4969 r4985  
    8181    $file     = plugin_basename( $file );
    8282    $hookname = get_plugin_page_hookname( $file, '' );
    83    
     83
    8484    $admin_page_hooks[$file] = sanitize_title( $menu_title );
    8585
     
    387387}
    388388
     389/**
     390 * Some _is_ function had their names normalized
     391 */
     392function bp_is_profile_edit() {
     393    _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_profile_edit()' );
     394    return bp_is_user_profile_edit();
     395}
     396
    389397/** Theme *********************************************************************/
    390398
Note: See TracChangeset for help on using the changeset viewer.