bb_upgrade_160

The BuddyPress bb upgrade 160 function.

Description

bb_upgrade_160(); 

Usage

  1. if ( !function_exists( 'bb_upgrade_160' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-upgrade.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bb_upgrade_160(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-forums/bbpress/bb-admin/includes/functions.bb-upgrade.php  
  1. function bb_upgrade_160() { 
  2. if ( ( $dbv = bb_get_option_from_db( 'bb_db_version' ) ) && $dbv >= 535 ) 
  3. return; 
  4.  
  5. require_once( BB_PATH . 'bb-admin/includes/functions.bb-admin.php' ); 
  6. $blocked = bb_get_ids_by_role( 'blocked' ); 
  7. foreach ( $blocked as $b ) 
  8. return 'Done reversibly breaking passwords: ' . __FUNCTION__;