<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to fix _weak_escape() error after upgrading to WordPress 2.8</title>
	<atom:link href="http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/</link>
	<description>This website is home to David Whitehouse</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:31:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Ana</title>
		<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/#comment-1565</link>
		<dc:creator>Ana</dc:creator>
		<pubDate>Fri, 28 Jan 2011 17:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.david-whitehouse.org/?p=288#comment-1565</guid>
		<description>Thank you sooo much! I recently updated WP to 3.0.4 and I couldn&#039;t publish my entries because of that error. I replaced the code as you said and it went well, it let me publish the entry but without tags because the tagging box wasn&#039;t working, what the hell? So I updated my plugins, Google Analytics for WordPress and HeadSpace2, and now everything is fine! Back to publish (tagged) entries! Thanks again!</description>
		<content:encoded><![CDATA[<p>Thank you sooo much! I recently updated WP to 3.0.4 and I couldn&#8217;t publish my entries because of that error. I replaced the code as you said and it went well, it let me publish the entry but without tags because the tagging box wasn&#8217;t working, what the hell? So I updated my plugins, Google Analytics for WordPress and HeadSpace2, and now everything is fine! Back to publish (tagged) entries! Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/#comment-1486</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 17 Jul 2010 11:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.david-whitehouse.org/?p=288#comment-1486</guid>
		<description>However this happens to many other plugins that use deprecated wpdb::escape.</description>
		<content:encoded><![CDATA[<p>However this happens to many other plugins that use deprecated wpdb::escape.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter V Cook</title>
		<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/#comment-981</link>
		<dc:creator>Peter V Cook</dc:creator>
		<pubDate>Sat, 06 Feb 2010 19:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.david-whitehouse.org/?p=288#comment-981</guid>
		<description>Luckily an update to the redirection plug in fixes this problem.</description>
		<content:encoded><![CDATA[<p>Luckily an update to the redirection plug in fixes this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/#comment-763</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 28 Sep 2009 11:06:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.david-whitehouse.org/?p=288#comment-763</guid>
		<description>There is definitely a better way. Go to your plug-in folder and find all calls of &lt;code&gt;wpdb::escape&lt;/code&gt; and replace it with &lt;code&gt;wpdb::_weak_escape&lt;/code&gt;

I know it is a bit longer but it will preserve you from getting this error back one your WordPress version is updated.</description>
		<content:encoded><![CDATA[<p>There is definitely a better way. Go to your plug-in folder and find all calls of <code>wpdb::escape</code> and replace it with <code>wpdb::_weak_escape</code></p>
<p>I know it is a bit longer but it will preserve you from getting this error back one your WordPress version is updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Whitehouse</title>
		<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/#comment-501</link>
		<dc:creator>David Whitehouse</dc:creator>
		<pubDate>Thu, 27 Aug 2009 11:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.david-whitehouse.org/?p=288#comment-501</guid>
		<description>That means I manually replace the code.  I replaced the function with the one above.</description>
		<content:encoded><![CDATA[<p>That means I manually replace the code.  I replaced the function with the one above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frank</title>
		<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/#comment-500</link>
		<dc:creator>frank</dc:creator>
		<pubDate>Thu, 27 Aug 2009 10:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.david-whitehouse.org/?p=288#comment-500</guid>
		<description>hi thanks for the fix,
but what do you mean by 
&quot;so I embedded this into the code which was calling _weak_escape&quot;

did you just add this code in the wp-includes/wp-db.php
file, or did you remove the function???

thanks</description>
		<content:encoded><![CDATA[<p>hi thanks for the fix,<br />
but what do you mean by<br />
&#8220;so I embedded this into the code which was calling _weak_escape&#8221;</p>
<p>did you just add this code in the wp-includes/wp-db.php<br />
file, or did you remove the function???</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/#comment-145</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Mon, 22 Jun 2009 08:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.david-whitehouse.org/?p=288#comment-145</guid>
		<description>Great fix. I had the same problem and I love the redirection plugin, too! Another fix would be to replace the &quot;new&quot; wp-db.php  with the wp-db.php out of wordpress 2.7.1. This also works ...</description>
		<content:encoded><![CDATA[<p>Great fix. I had the same problem and I love the redirection plugin, too! Another fix would be to replace the &#8220;new&#8221; wp-db.php  with the wp-db.php out of wordpress 2.7.1. This also works &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Whitehouse</title>
		<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/#comment-108</link>
		<dc:creator>David Whitehouse</dc:creator>
		<pubDate>Mon, 15 Jun 2009 09:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.david-whitehouse.org/?p=288#comment-108</guid>
		<description>Jan, were you using the redirection plugin?

My only worry is mine looks a bit funny, so I might have to make some changes, if so I&#039;ll comment here and you can check back for the updated solution :)</description>
		<content:encoded><![CDATA[<p>Jan, were you using the redirection plugin?</p>
<p>My only worry is mine looks a bit funny, so I might have to make some changes, if so I&#8217;ll comment here and you can check back for the updated solution <img src='http://www.david-whitehouse.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Spacil</title>
		<link>http://www.david-whitehouse.org/blog/fix-weakescape-error-upgrading-wordpress-28/#comment-103</link>
		<dc:creator>Jan Spacil</dc:creator>
		<pubDate>Sat, 13 Jun 2009 16:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.david-whitehouse.org/?p=288#comment-103</guid>
		<description>It works, I had the same problem, THANKS!! :]</description>
		<content:encoded><![CDATA[<p>It works, I had the same problem, THANKS!! :]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

