<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Official Oracast Blog &#187; Wordpress multiple quotes</title>
	<atom:link href="http://www.oracast.com/blog/tag/wordpress-multiple-quotes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oracast.com/blog</link>
	<description>Get the latest Oracast news &#38; information</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:26:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WordPress multiple quotes issue</title>
		<link>http://www.oracast.com/blog/wordpress-multiple-quotes-issue/</link>
		<comments>http://www.oracast.com/blog/wordpress-multiple-quotes-issue/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 15:21:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[Wordpress bug]]></category>
		<category><![CDATA[Wordpress multiple quotes]]></category>

		<guid isPermaLink="false">http://www.oracast.com/blog/?p=22</guid>
		<description><![CDATA[We have seen a few instances where double quotes or apostrophes have shown up in blog posts and sometimes in the actual WordPress code. If you are using the built-in WordPress editor, whether you are coding or simply posting a blog, singe quotes get repeated when you save your work. For example: it&#8217;s = it&#8221;s, [...]]]></description>
			<content:encoded><![CDATA[<p>We have seen a few instances where double quotes or apostrophes have shown up in blog posts and sometimes in the actual WordPress code. If you are using the built-in WordPress editor, whether you are coding or simply posting a blog, singe quotes get repeated when you save your work. For example: it&#8217;s = it&#8221;s, or in the code we have seen: $_SERVER['''something'''].</p>
<p>This obviously causes some problems, but have no fear, the solution is quite simple. The multiple quotes issue is caused by magic_quotes, and can be found in the php.ini file, or if you are in a shared environment, the .htaccess file. These variables need to be turned off.</p>
<p>php.ini settings should look like:</p>
<p>&#8212;<br />
; Magic quotes for incoming GET/POST/Cookie data.<br />
 magic_quotes_gpc = Off</p>
<p> ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.<br />
 magic_quotes_runtime = Off</p>
<p> ; Use Sybase-style magic quotes (escape &#8216; with &#8221; instead of \&#8217;).<br />
 magic_quotes_sybase = Off<br />
&#8212;</p>
<p>Or if you are using an .htaccess file, your settings should look something like this:</p>
<p>&#8212;<br />
# BEGIN WordPress<br />
 <IfModule mod_rewrite.c><br />
 RewriteEngine On<br />
 php_value magic_quotes_gpc 0<br />
 php_flag magic_quotes_runtime 0<br />
 </IfModule><br />
 # END WordPress<br />
&#8212;</p>
<p>That is it! The problem isn&#8217;t a bug in WordPress but rather a result of having magic_quotes turned on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oracast.com/blog/wordpress-multiple-quotes-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
