? sites/default/files
? sites/default/private
? sites/default/settings.php
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1190
diff -u -r1.1190 common.inc
--- includes/common.inc	2 Jul 2010 15:31:10 -0000	1.1190
+++ includes/common.inc	7 Jul 2010 01:34:03 -0000
@@ -1910,7 +1910,7 @@
  *   printed to the page.
  */
 function format_username($account) {
-  $name = !empty($account->name) ? $account->name : variable_get('anonymous', t('Anonymous'));
+  $name = $account->name !== '' ? $account->name : variable_get('anonymous', t('Anonymous'));
   drupal_alter('username', $name, $account);
   return $name;
 }
Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.599
diff -u -r1.599 theme.inc
--- includes/theme.inc	7 Jun 2010 06:38:09 -0000	1.599
+++ includes/theme.inc	7 Jul 2010 01:34:06 -0000
@@ -2176,7 +2176,7 @@
   }
 
   // Construct page title.
-  if (drupal_get_title()) {
+  if (drupal_get_title() !== '') {
     $head_title = array(strip_tags(drupal_get_title()), check_plain(variable_get('site_name', 'Drupal')));
   }
   else {
@@ -2380,7 +2380,7 @@
   }
 
   // Construct page title
-  if (drupal_get_title()) {
+  if (drupal_get_title() !== '') {
     $head_title = array(strip_tags(drupal_get_title()), variable_get('site_name', 'Drupal'));
   }
   else {
Index: themes/garland/maintenance-page.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/maintenance-page.tpl.php,v
retrieving revision 1.16
diff -u -r1.16 maintenance-page.tpl.php
--- themes/garland/maintenance-page.tpl.php	4 Mar 2010 09:03:08 -0000	1.16
+++ themes/garland/maintenance-page.tpl.php	7 Jul 2010 01:34:06 -0000
@@ -65,7 +65,7 @@
       <?php endif; ?>
 
       <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
-          <?php if ($title): ?><h2><?php print $title ?></h2><?php endif; ?>
+          <?php if ($title !== ''): ?><h2><?php print $title ?></h2><?php endif; ?>
           <?php print $messages; ?>
           <?php print $help; ?>
           <div class="clearfix">
Index: themes/garland/page.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/page.tpl.php,v
retrieving revision 1.42
diff -u -r1.42 page.tpl.php
--- themes/garland/page.tpl.php	30 Jan 2010 07:59:26 -0000	1.42
+++ themes/garland/page.tpl.php	7 Jul 2010 01:34:06 -0000
@@ -9,7 +9,7 @@
       <div id="header">
         <div id="logo-floater">
         <?php if ($logo || $site_title): ?>
-          <?php if ($title): ?>
+          <?php if ($title !== ''): ?>
             <div id="branding"><strong><a href="<?php print $front_page ?>" title="<?php print $site_name_and_slogan ?>">
             <?php if ($logo): ?>
               <img src="<?php print $logo ?>" alt="<?php print $site_name_and_slogan ?>" id="logo" />
@@ -43,7 +43,7 @@
           <a id="main-content"></a>
           <?php if ($tabs): ?><div id="tabs-wrapper" class="clearfix"><?php endif; ?>
           <?php print render($title_prefix); ?>
-          <?php if ($title): ?>
+          <?php if ($title !== ''): ?>
             <h1<?php print $tabs ? ' class="with-tabs"' : '' ?>><?php print $title ?></h1>
           <?php endif; ?>
           <?php print render($title_suffix); ?>
Index: themes/seven/maintenance-page.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/maintenance-page.tpl.php,v
retrieving revision 1.2
diff -u -r1.2 maintenance-page.tpl.php
--- themes/seven/maintenance-page.tpl.php	22 Nov 2009 23:44:09 -0000	1.2
+++ themes/seven/maintenance-page.tpl.php	7 Jul 2010 01:34:06 -0000
@@ -14,7 +14,7 @@
   <?php print $page_top; ?>
 
   <div id="branding">
-    <?php if ($title): ?><h1 class="page-title"><?php print $title; ?></h1><?php endif; ?>
+    <?php if ($title !== ''): ?><h1 class="page-title"><?php print $title; ?></h1><?php endif; ?>
   </div>
 
   <div id="page">
Index: themes/seven/page.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/seven/page.tpl.php,v
retrieving revision 1.12
diff -u -r1.12 page.tpl.php
--- themes/seven/page.tpl.php	4 Jan 2010 03:57:19 -0000	1.12
+++ themes/seven/page.tpl.php	7 Jul 2010 01:34:06 -0000
@@ -5,7 +5,7 @@
   <div id="branding" class="clearfix">
     <?php print $breadcrumb; ?>
     <?php print render($title_prefix); ?>
-    <?php if ($title): ?>
+    <?php if ($title !== ''): ?>
       <h1 class="page-title"><?php print $title; ?></h1>
     <?php endif; ?>
     <?php print render($title_suffix); ?>
