<?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>BDC Software &#187; Uncategorized</title>
	<atom:link href="http://www.bdcsoftware.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bdcsoftware.com</link>
	<description>Experience Matters</description>
	<lastBuildDate>Thu, 07 Jul 2011 19:01:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress 3.1.1 Exclude Categories Issue</title>
		<link>http://www.bdcsoftware.com/wordpress-3-1-1-exclude-categories-issue/</link>
		<comments>http://www.bdcsoftware.com/wordpress-3-1-1-exclude-categories-issue/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 01:12:38 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.bdcsoftware.com/?p=583</guid>
		<description><![CDATA[I have run into an interesting issues after upgrading to WP 3.1.1. It seems something has broken the query_posts() functions ability to process the &#8216;cat&#8217; parameter. Usual calls to: query_posts("cat=1"); or to: query_posts("cat=-1"); //exclude category 1 stopped working. It is interesting that only the &#8216;cat&#8217; parameter is broken. The Hotfix plugin promises to address the [...]]]></description>
			<content:encoded><![CDATA[<p>I have run into an interesting issues after upgrading to WP 3.1.1. It seems something has broken the query_posts() functions ability to process the &#8216;cat&#8217; parameter. Usual calls to:<br />
<code><br />
query_posts("cat=1");<br />
or to:<br />
query_posts("cat=-1"); //exclude category 1<br />
</code></p>
<p>stopped working. It is interesting that only the &#8216;cat&#8217; parameter is broken. The <a href="http://wordpress.org/extend/plugins/hotfix/">Hotfix</a> plugin promises to address the issue, however in my instance it did not solve the problem.</p>
<p>It turns out that the issue is not in parse_str() and &#8216;category__not_in&#8217; DOES work correctly . So quick workaround for this issue can be accomplished as follows:</p>
<p><code><br />
global $query_string;<br />
parse_str( $query_string, $args );<br />
$args['category__not_in'] =  array( 7,8 );<br />
query_posts( $args );<br />
</code><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bdcsoftware.com/wordpress-3-1-1-exclude-categories-issue/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

