Index: wp-includes/class-phpmailer.php
===================================================================
--- wp-includes/class-phpmailer.php	(revision 19456)
+++ wp-includes/class-phpmailer.php	(working copy)
@@ -1467,12 +1467,12 @@
         }
       }
       if (PHP_VERSION < 6) {
-        $magic_quotes = get_magic_quotes_runtime();
-        set_magic_quotes_runtime(0);
+        $magic_quotes = ini_get('magic_quotes_runtime');
+        @ini_set('magic_quotes_runtime', 0);
       }
       $file_buffer  = file_get_contents($path);
       $file_buffer  = $this->EncodeString($file_buffer, $encoding);
-      if (PHP_VERSION < 6) { set_magic_quotes_runtime($magic_quotes); }
+      if (PHP_VERSION < 6) { @ini_set('magic_quotes_runtime', $magic_quotes); }
       return $file_buffer;
     } catch (Exception $e) {
       $this->SetError($e->getMessage());
