BPDB__ERROR_HTML

The BuddyPress BPDB ERROR HTML constant.

Value (string)

'
DB Error in %3$s: %1$s
%2$s

Usage

  1. if ( defined( 'BPDB__ERROR_HTML' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'BPDB__ERROR_HTML' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (2)

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

/bp-forums/bbpress/bb-includes/backpress/class.bpdb.php  
  1. define( 'BPDB__ERROR_HTML', '<div class="error"><p><strong>DB Error in %3$s:</strong> %1$s</p><pre>%2$s</pre></div>' ); 
/bp-forums/bbpress/bb-settings.php  
  1. define( 'BPDB__ERROR_HTML', '<div id="error"><p class="bpdberror"><strong>Databaseerror</strong> [%s]<br /><code>%s</code><br />Caller: %s</p></div>' );