Ticket #6: wordtobb.diff

File wordtobb.diff, 2.4 KB (added by mdawaffe, 7 years ago)

s/WordPress/bbPress

  • bb-includes/db-mysqli.php

     
    7777                if ( $this->show_errors ) { 
    7878                        // If there is an error then take note of it 
    7979                        print "<div id='error'> 
    80                         <p class='bbdberror'><strong>WordPress database error:</strong> [$str]<br /> 
     80                        <p class='bbdberror'><strong>bbPress database error:</strong> [$str]<br /> 
    8181                        <code>$this->last_query</code></p> 
    8282                        </div>"; 
    8383                } else { 
     
    289289        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    290290        <html xmlns="http://www.w3.org/1999/xhtml"> 
    291291        <head> 
    292                 <title>WordPress &rsaquo; Error</title> 
     292                <title>bbPress &rsaquo; Error</title> 
    293293                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    294294                <style media="screen" type="text/css"> 
    295295                <!-- 
     
    330330                </style> 
    331331        </head> 
    332332        <body> 
    333         <h1 id="logo"><img alt="WordPress" src="http://static.wordpress.org/logo.png" /></h1> 
     333        <h1 id="logo"><img alt="bbPress" src="http://bbpress.org/bbpress.png" /></h1> 
    334334HEAD; 
    335335        echo $message; 
    336336        echo "</body></html>"; 
  • bb-includes/db.php

     
    8484                if ( $this->show_errors ) { 
    8585                        // If there is an error then take note of it 
    8686                        print "<div id='error'> 
    87                         <p class='bbdberror'><strong>WordPress database error:</strong> [$str]<br /> 
     87                        <p class='bbdberror'><strong>bbPress database error:</strong> [$str]<br /> 
    8888                        <code>$this->last_query</code></p> 
    8989                        </div>"; 
    9090                } else { 
     
    296296        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    297297        <html xmlns="http://www.w3.org/1999/xhtml"> 
    298298        <head> 
    299                 <title>WordPress &rsaquo; Error</title> 
     299                <title>bbPress &rsaquo; Error</title> 
    300300                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    301301                <style media="screen" type="text/css"> 
    302302                <!-- 
     
    337337                </style> 
    338338        </head> 
    339339        <body> 
    340         <h1 id="logo"><img alt="WordPress" src="http://static.wordpress.org/logo.png" /></h1> 
     340        <h1 id="logo"><img alt="bbPress" src="http://bbpress.org/bbpress.png" /></h1> 
    341341HEAD; 
    342342        echo $message; 
    343343        echo "</body></html>";