From b2597e226f7056db9b4b22e6ba06a10182c27e2b Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 30 Jan 2005 19:17:22 +0000 Subject: [PATCH] some double quotes --- includes/GlobalFunctions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 567954b325..8e4937f9d6 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -625,7 +625,7 @@ function wfCheckLimits( $deflimit = 50, $optionname = 'rclimit' ) { */ function wfEscapeWikiText( $text ) { $text = str_replace( - array( '[', '|', "'", 'ISBN ' , '://' , "\n=", '{{' ), + array( '[', '|', '\'', 'ISBN ' , '://' , "\n=", '{{' ), array( '[', '|', ''', 'ISBN ', '://' , "\n=", '{{' ), htmlspecialchars($text) ); return $text; @@ -833,7 +833,7 @@ function wfHttpError( $code, $label, $desc ) { # Don't send content if it's a HEAD request. if( $_SERVER['REQUEST_METHOD'] == 'HEAD' ) { header( 'Content-type: text/plain' ); - print "$desc\n"; + print $desc."\n"; } } @@ -1042,7 +1042,7 @@ function wfTimestamp($outputtype=TS_UNIX,$ts=0) { case TS_DB: return gmdate( 'Y-m-d H:i:s', $uts ); case TS_RFC2822: - return gmdate( "D, d M Y H:i:s", $uts ) . ' GMT'; + return gmdate( 'D, d M Y H:i:s', $uts ) . ' GMT'; default: wfDebugDieBacktrace( 'wfTimestamp() called with illegal output type.'); } -- 2.20.1