I found this, but have no idea how to fix it, or use this info??
// Store the instance locally to avoid private static replication
static $instance = null;
// Only run these methods if they haven't been ran previously
if ( null === $instance ) {
$instance = new bbPress;
$instance->setup_globals();
$instance->includes();
$instance->setup_actions();
}
// Always return the instance
return $instance;
}
/** Magic Methods *********************************************************/
/**
* A dummy constructor to prevent bbPress from being loaded more than once.
*
* @since bbPress (r2464)
* @see bbPress::instance()
* @see bbpress();
*/
private function __construct() { /* Do nothing here */ }
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]