<?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>Developer&#039;s Mind</title>
	<atom:link href="http://developersmind.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://developersmind.com</link>
	<description>Creative Rumblings of a Workaholic Developer!</description>
	<lastBuildDate>Tue, 27 Jul 2010 15:10:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>WordPress 3.0.1 Release Candidate 1</title>
		<link>http://developersmind.com/2010/07/27/wordpress-3-0-1-rc1-released/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=wordpress-3-0-1-rc1-released</link>
		<comments>http://developersmind.com/2010/07/27/wordpress-3-0-1-rc1-released/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 15:09:46 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[Release]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Release Candidate]]></category>
		<category><![CDATA[WordPress 3.0.1]]></category>

		<guid isPermaLink="false">http://developersmind.com/?p=735</guid>
		<description><![CDATA[WordPress 3.0.1 Release Candidate was just tagged and released. WordPress 3.0.1 includes several bugfixes. Please consult the <a href="http://core.trac.wordpress.org/log/branches/3.0?action=stop_on_copy&#038;mode=stop_on_copy&#038;rev=15472&#038;stop_rev=15298&#038;limit=100">changelog</a> on Trac for details on what has changed in this release. <a href="http://developersmind.com/2010/07/27/wordpress-3-0-1-rc1-released/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPress 3.0.1 Release Candidate was just tagged and released. You can use Peter Westwood&#8217;s <a href="http://wordpress.org/extend/plugins/wordpress-beta-tester/">Beta Tester Plugin</a> and use &#8220;Point Release Nightlies&#8221; to upgrade from WordPress 3.0 to the new release candidate.</p>
<p>WordPress 3.0.1 includes several bugfixes. Please consult the <a href="http://core.trac.wordpress.org/log/branches/3.0?action=stop_on_copy&#038;mode=stop_on_copy&#038;rev=15472&#038;stop_rev=15298&#038;limit=100">changelog</a> on Trac for details on what has changed in this release.</p>
]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/07/27/wordpress-3-0-1-rc1-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading WordPress MU 2.9.2 to WordPress 3.0</title>
		<link>http://developersmind.com/2010/06/17/upgrading-wordpress-mu-2-9-2-to-wordpress-3-0/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=upgrading-wordpress-mu-2-9-2-to-wordpress-3-0</link>
		<comments>http://developersmind.com/2010/06/17/upgrading-wordpress-mu-2-9-2-to-wordpress-3-0/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 18:37:34 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[MultiSite]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[2.9.2]]></category>
		<category><![CDATA[Upgrading]]></category>
		<category><![CDATA[WordPress 3.0]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://developersmind.com/?p=705</guid>
		<description><![CDATA[WordPress 3.0 was officially released today. The main feature of the WordPress 3.0 is the merge of WordPress MU. In this post, I&#8217;ll cover upgrading WordPress MU 2.9.2 to WordPress 3.0. You should always backup your databases before attempting to &#8230; <a href="http://developersmind.com/2010/06/17/upgrading-wordpress-mu-2-9-2-to-wordpress-3-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPress 3.0 was officially <a href="http://developersmind.com/2010/06/17/wordpress-3-0-release/">released today</a>. The main feature of the WordPress 3.0 is the merge of WordPress MU. In this post, I&#8217;ll cover upgrading WordPress MU 2.9.2 to WordPress 3.0. You should always backup your databases before attempting to upgrade WordPress. If you are not sure how to backup your database, you can find complete instructions in the <a href="http://codex.wordpress.org/WordPress_Backups">WordPress Codex</a>. If you are upgrading from WordPress 2.9.2 standard and want to enable multisite, then follow the instructions on <a href="http://developersmind.com/2010/05/17/enable-multi-site-in-wordpress-3-0/">this post</a> instead.</p>
<p><h3>Upgrade WordPress:</h3>
<p>You can upgrade WordPress by following the link in the update message at the top or by going to the Upgrade screen under Tools. Return to the dashboard after upgrading. You will have to login again after the upgrade.<a href="http://developersmind.com/files/2010/06/upgrade-wordpress-mu.png"><img src="http://developersmind.com/files/2010/06/upgrade-wordpress-mu.png" alt="" title="upgrade-wordpress-mu" width="637" height="218" class="aligncenter size-full wp-image-707" /></a></p>
<h3>Update wp-config.php:</h3>
<p>WordPress encrypts cookies but you must add <code>NONCE_SALT</code> code shown at the top of the admin area to wp-config.php. For example: <code>define( 'NONCE_SALT', 'a<U3S[ g<.4I)#p^-iy?sbb3JPu+W~-Zk|aPLMN[TvoiHIKGI_bbB-h?iliBb2ra' )</code>. This code will be unique to your installation. Add it above the line that says: <code>/* That's all, stop editing! Happy blogging. */</code><br />
<a href="http://developersmind.com/files/2010/06/update-wp-config.png"><img src="http://developersmind.com/files/2010/06/update-wp-config.png" alt="" title="update-wp-config" width="693" height="202" class="aligncenter size-full wp-image-715" /></a></p>
<pre class="brush: php; gutter: false; highlight: [3];">define( &quot;WP_USE_MULTIPLE_DB&quot;, false );

define( 'NONCE_SALT', 'a&lt;U3S[ g&lt;.4I)#p^-iy?sbb3JPu+W~-Zk|aPLMN[TvoiHIKGI_bbB-h?iliBb2ra' );

/* That's all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');</pre>
</p>
<h3>Update Network:</h3>
<p>Follow the link at the top to the Update Network screen or browse to the Update screen under Super Admin to update all sites(blogs) in your network.</p>
<p><a href="http://developersmind.com/files/2010/06/update-network.png"><img src="http://developersmind.com/files/2010/06/update-network.png" alt="" title="update-network" width="616" height="223" class="aligncenter size-full wp-image-718" /></a></p>
<h3>Update Rewrite Rules:</h3>
<p>The <code>wp-content/blogs.php</code> file was deprecated in WordPress 3.0 and you must update the rewrite rules to use <code>wp-includes/ms-files.php</code>. Replace <code>wp-content/blogs.php</code> with<code> wp-includes/ms-files.php</code> in <code>.htaccess</code> and delete <code>wp-content/blogs.php</code>.</p>
<pre class="brush: bash; gutter: false; highlight: [7];">
RewriteEngine On
RewriteBase /

#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

&lt;IfModule mod_security.c&gt;
&lt;Files async-upload.php&gt;
SecFilterEngine Off
SecFilterScanPOST Off
&lt;/Files&gt;
&lt;/IfModule&gt;
</pre></p>
<p><a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F17%2Fupgrading-wordpress-mu-2-9-2-to-wordpress-3-0%2F&amp;linkname=Upgrading%20WordPress%20MU%202.9.2%20to%20WordPress%203.0" title="Twitter" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F17%2Fupgrading-wordpress-mu-2-9-2-to-wordpress-3-0%2F&amp;linkname=Upgrading%20WordPress%20MU%202.9.2%20to%20WordPress%203.0" title="Facebook" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F17%2Fupgrading-wordpress-mu-2-9-2-to-wordpress-3-0%2F&amp;linkname=Upgrading%20WordPress%20MU%202.9.2%20to%20WordPress%203.0" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F17%2Fupgrading-wordpress-mu-2-9-2-to-wordpress-3-0%2F&amp;linkname=Upgrading%20WordPress%20MU%202.9.2%20to%20WordPress%203.0" title="Digg" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a> </p>]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/06/17/upgrading-wordpress-mu-2-9-2-to-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Released</title>
		<link>http://developersmind.com/2010/06/17/wordpress-3-0-release/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=wordpress-3-0-release</link>
		<comments>http://developersmind.com/2010/06/17/wordpress-3-0-release/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 16:09:57 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[Release]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress 3.0]]></category>

		<guid isPermaLink="false">http://developersmind.com/?p=665</guid>
		<description><![CDATA[Happy Thursday and just to make your day a little better WordPress 3.0 &#8220;Thelonious&#8221;, named in honor of Thelonious Monk, has been released. You can easily upgrade from your dashboard by going to Tools > Upgrade or from the update &#8230; <a href="http://developersmind.com/2010/06/17/wordpress-3-0-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Happy Thursday and just to make your day a little better WordPress 3.0 &#8220;Thelonious&#8221;, named in honor of <a href="http://en.wikipedia.org/wiki/Thelonious_Monk">Thelonious Monk</a>, has been released. You can easily upgrade from your dashboard by going to Tools > Upgrade or from the update message at the top of the dashboard.</p>
<p><embed src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" type="application/x-shockwave-flash" width="640" height="360" wmode="transparent" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=BQtfIEY1&amp;width=640&amp;height=360&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M" title="Introducing WordPress 3.0 &quot;Thelonious&quot;"></embed></p>
<p>The single most important feature of WordPress 3.0 is the WPMU merge which allows you to easily manage a network of sites (blogs) on a single WordPress install. You can find the instructions for enabling multisite <a href="http://developersmind.com/2010/05/17/enable-multi-site-in-wordpress-3-0/">here</a>. </p>
<p>The WordPress 3.0 development cycle included over <a href="http://core.trac.wordpress.org/query?status=closed&#038;milestone=3.0">1200 tickets</a> (bugs and enhancements).</p>
<p>You can download WordPress 3.0 <a href="http://wordpress.org/wordpress-3.0.zip">here</a> and read the official release announcement on the <a href="http://wordpress.org/development/2010/06/thelonious/">WordPress Development Blog</a>.</p>
<p><a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F17%2Fwordpress-3-0-release%2F&amp;linkname=WordPress%203.0%20Released" title="Twitter" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F17%2Fwordpress-3-0-release%2F&amp;linkname=WordPress%203.0%20Released" title="Facebook" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F17%2Fwordpress-3-0-release%2F&amp;linkname=WordPress%203.0%20Released" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F17%2Fwordpress-3-0-release%2F&amp;linkname=WordPress%203.0%20Released" title="Digg" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a> </p>]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/06/17/wordpress-3-0-release/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Create a WordPress Dashboard Widget</title>
		<link>http://developersmind.com/2010/06/16/writing-a-wordpress-dashboard-widget/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=writing-a-wordpress-dashboard-widget</link>
		<comments>http://developersmind.com/2010/06/16/writing-a-wordpress-dashboard-widget/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 20:55:35 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[Beginner's Plugin Development]]></category>
		<category><![CDATA[Plugin Development]]></category>
		<category><![CDATA[WordCamp]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Dashboard Widget]]></category>

		<guid isPermaLink="false">http://www.developersmind.com/?p=121</guid>
		<description><![CDATA[A new Dashboard Widgets API was introduced in WordPress 2.7 which made it easy for developers to create their own widgets for the administration dashboard. Dashboard Widgets are written in PHP and its is relatively easy if you are familiar with the WordPress Plugin API. <a href="http://developersmind.com/2010/06/16/writing-a-wordpress-dashboard-widget/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em>This post is the first in a <a href="http://developersmind.com/category/wordpress/beginners-plugin-development/">series</a> that was inspired by my WordPress Chicago presentation titled Beginner&#8217;s Plugin Development.</em></p>
<p>A new Dashboard Widgets API was introduced in WordPress 2.7, which made it easy for developers to create their own widgets for the administration dashboard. Dashboard Widgets are written in PHP and it&#8217;s easy to get started if you are familiar with the WordPress Plugin API.</p>
<p>You can add a new widget to the dashboard using the WordPress core function <code>wp_add_dashboard_widget( widget_id, widget_name, callback, control_callback )</code>.</p>
<ul>
<li><strong>widget_id:</strong> Unique id for your widget. This will be the css class and the array key for the widgets.</li>
<li><strong>widget_name:</strong> Name for your widget that will be displayed as the title.</li>
<li><strong>callback:</strong> The function that will display the content of the widget.</li>
<li><strong>control_callback:</strong> The function that will display the form elements and handle the form submission. This parameter is optional.</li>
</ul>
<p>In this post, I&#8217;ll create a simple dashboard widget that will display some text:<a href="http://developersmind.com/files/2010/06/custom-dashboard-widget.png"><img src="http://developersmind.com/files/2010/06/custom-dashboard-widget.png" alt="" title="custom-dashboard-widget" width="517" height="84" class="aligncenter size-full wp-image-684" /></a></p>
<p>Let&#8217;s create a function that will display the contents of our custom dashboard widget:</p>
<pre class="brush: php;">
function devmind_dashboard_widget() {
	echo '&lt;p&gt;&lt;a href=&quot;http://wordpress.org/&quot;&gt;WordPress&lt;/a&gt; is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time.&lt;/p&gt;';
}
</pre>
</p>
<p>We need to create another function that will call <code>wp_add_dashboard_widget</code> and register our custom dashboard widget:</p>
<pre class="brush: php;">
function devmind_add_dashboard_widget() {
	wp_add_dashboard_widget( 'devmind-custom-widget', 'About WordPress', 'devmind_dashboard_widget' );
}
</pre>
</p>
<p>Now, we need to hook into dashboard setup process and tell WordPress to load our widget. We can do this by hooking into <code> wp_dashboard_setup</code> and adding our custom widget.</p>
<pre class="brush: php; gutter: false;">
add_action( 'wp_dashboard_setup', 'devmind_add_dashboard_widget' );
</pre>
</p>
<p>You can add this code to your theme&#8217;s functions.php file or download it as a plugin <a href="http://developersmind.com/files/2010/06/dashboard-widget-example.php">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/06/16/writing-a-wordpress-dashboard-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent Update Checks for a WordPress Plugin</title>
		<link>http://developersmind.com/2010/06/12/preventing-wordpress-from-checking-for-updates-for-a-plugin/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=preventing-wordpress-from-checking-for-updates-for-a-plugin</link>
		<comments>http://developersmind.com/2010/06/12/preventing-wordpress-from-checking-for-updates-for-a-plugin/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 08:09:18 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[Plugin Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Tweaks]]></category>

		<guid isPermaLink="false">http://developersmind.com/?p=647</guid>
		<description><![CDATA[Earlier today, Jason Gegere asked me how to prevent WordPress from checking for updates on a plugin. This may be helpful if you are running a custom version of a plugin from the repository and you don&#8217;t want to accidently &#8230; <a href="http://developersmind.com/2010/06/12/preventing-wordpress-from-checking-for-updates-for-a-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Earlier today, Jason Gegere <a href="http://twitter.com/gegere/status/15950963409"  rel='external nofollow' class='url'>asked</a> me how to prevent WordPress from checking for updates on a plugin. This may be helpful if you are running a custom version of a plugin from the repository and you don&#8217;t want to accidently update the plugin and lose the customizations, or if you are running a private plugin and don&#8217;t want WordPress to check for updates from the plugin repository. WordPress doesn&#8217;t know if your plugin is in the WordPress plugins repository and it will request the update check on all installed plugins.</p>
<p>WordPress checks for updates using <code>wp_update_plugins()</code> in <code>wp-includes/update.php</code> but there are no hooks in this function which could be used to exclude your plugin from the update check. However, you can hook into <code>http_request_args</code> and remove your plugin from the query arguments passed in the http request. You can add the following code to your plugin to prevent WordPress from checking for updates for your plugin:</p>
<pre class="brush: php;">
add_filter( 'http_request_args', 'dm_prevent_update_check', 10, 2 );
function dm_prevent_update_check( $r, $url ) {
	if ( 0 === strpos( $url, 'http://api.wordpress.org/plugins/update-check/' ) ) {
		$my_plugin = plugin_basename( __FILE__ );
		$plugins = unserialize( $r['body']['plugins'] );
		unset( $plugins-&gt;plugins[$my_plugin] );
		unset( $plugins-&gt;active[array_search( $my_plugin, $plugins-&gt;active )] );
		$r['body']['plugins'] = serialize( $plugins );
	}
	return $r;
}
</pre>
<p><a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F12%2Fpreventing-wordpress-from-checking-for-updates-for-a-plugin%2F&amp;linkname=Prevent%20Update%20Checks%20for%20a%20WordPress%20Plugin" title="Twitter" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F12%2Fpreventing-wordpress-from-checking-for-updates-for-a-plugin%2F&amp;linkname=Prevent%20Update%20Checks%20for%20a%20WordPress%20Plugin" title="Facebook" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F12%2Fpreventing-wordpress-from-checking-for-updates-for-a-plugin%2F&amp;linkname=Prevent%20Update%20Checks%20for%20a%20WordPress%20Plugin" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F12%2Fpreventing-wordpress-from-checking-for-updates-for-a-plugin%2F&amp;linkname=Prevent%20Update%20Checks%20for%20a%20WordPress%20Plugin" title="Digg" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a> </p>]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/06/12/preventing-wordpress-from-checking-for-updates-for-a-plugin/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Release Candidate 3</title>
		<link>http://developersmind.com/2010/06/11/wordpress-3-0-release-candidate-3/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=wordpress-3-0-release-candidate-3</link>
		<comments>http://developersmind.com/2010/06/11/wordpress-3-0-release-candidate-3/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 20:39:09 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[Release]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[Release Candidate]]></category>
		<category><![CDATA[WordPress 3.0]]></category>

		<guid isPermaLink="false">http://developersmind.com/?p=639</guid>
		<description><![CDATA[The third release candidate (RC3) for WordPress 3.0 is now available. This will most likely be the last release candidate before WordPress 3.0 is released at some point next week. So if you are the adventurous kind and would like &#8230; <a href="http://developersmind.com/2010/06/11/wordpress-3-0-release-candidate-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The third release candidate (RC3) for WordPress 3.0 is now available. This will most likely be the last release candidate before WordPress 3.0 is released at some point next week. So if you are the adventurous kind and would like to contribute to WordPress, then download the release candidate <a href="http://wordpress.org/wordpress-3.0-RC3.zip">here</a> and provide your feedback.</p>
<p>
<blockquote>What’s an RC? An RC comes after beta and before the final launch. It means we think we’ve got everything done: all features finished, all bugs squashed, and all potential issues addressed. But, then, with over 20 million people using WordPress with a wide variety of configurations and hosting setups, it’s entirely possible that we’ve missed something.</p></blockquote>
<p><a href="http://wordpress.org/wordpress-3.0-RC3.zip">Download WordPress 3.0 Release Candidate 3</a></p>
<p><a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F11%2Fwordpress-3-0-release-candidate-3%2F&amp;linkname=WordPress%203.0%20Release%20Candidate%203" title="Twitter" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F11%2Fwordpress-3-0-release-candidate-3%2F&amp;linkname=WordPress%203.0%20Release%20Candidate%203" title="Facebook" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F11%2Fwordpress-3-0-release-candidate-3%2F&amp;linkname=WordPress%203.0%20Release%20Candidate%203" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F11%2Fwordpress-3-0-release-candidate-3%2F&amp;linkname=WordPress%203.0%20Release%20Candidate%203" title="Digg" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a> </p>]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/06/11/wordpress-3-0-release-candidate-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordCamp Chicago</title>
		<link>http://developersmind.com/2010/06/03/wordcamp-chicago/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=wordcamp-chicago</link>
		<comments>http://developersmind.com/2010/06/03/wordcamp-chicago/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 20:28:48 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[WordCamp]]></category>
		<category><![CDATA[Chicago]]></category>
		<category><![CDATA[Plugin Development]]></category>
		<category><![CDATA[WordCamp Chicago]]></category>

		<guid isPermaLink="false">http://developersmind.com/?p=612</guid>
		<description><![CDATA[I&#8217;m speaking at WordCamp Chicago this weekend at the Chicago Mart Plaza. My session is titled Beginners Plugin Development and it will be an introduction to writing a WordPress plugin. You can attend my session on Sunday, June 6th at &#8230; <a href="http://developersmind.com/2010/06/03/wordcamp-chicago/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m speaking at <a href="http://wordcampchicago.com/">WordCamp Chicago</a> this weekend at the Chicago Mart Plaza. My session is titled Beginners Plugin Development and it will be an introduction to writing a WordPress plugin. <a href="http://wordcampchicago.com/"><img src="http://developersmind.com/files/2010/06/twitter-icon1.png" alt="WordCamp Chicago" title="WordCamp Chicago" width="250" height="250" class="alignright size-full wp-image-614" /></a>You can attend my session on Sunday, June 6th at <del>11:30am</del> 11:15am in the Developers Track.</p>
<p>WordCamp Chicago has an <a href="http://wordcampchicago.com/speakers/">exciting line-up of speakers</a> and I&#8217;m looking forward to meeting with Chicagoland WordPress people and reconnecting with some folks I met at WordCamp San Francisco. WordCamps are all about networking, so make it a plan to attend all the parties and hit me up if you see me.</p>
<p><a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F03%2Fwordcamp-chicago%2F&amp;linkname=WordCamp%20Chicago" title="Twitter" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F03%2Fwordcamp-chicago%2F&amp;linkname=WordCamp%20Chicago" title="Facebook" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F03%2Fwordcamp-chicago%2F&amp;linkname=WordCamp%20Chicago" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F06%2F03%2Fwordcamp-chicago%2F&amp;linkname=WordCamp%20Chicago" title="Digg" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a> </p>]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/06/03/wordcamp-chicago/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Tweak the WordPress Generator Meta Tag</title>
		<link>http://developersmind.com/2010/06/03/how-to-tweak-the-wordpress-generator-tag-in-the-head/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-tweak-the-wordpress-generator-tag-in-the-head</link>
		<comments>http://developersmind.com/2010/06/03/how-to-tweak-the-wordpress-generator-tag-in-the-head/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 19:11:11 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Meta]]></category>
		<category><![CDATA[Tweaks]]></category>

		<guid isPermaLink="false">http://developersmind.com/?p=598</guid>
		<description><![CDATA[WordPress adds a generator meta tag to the head element of every page that includes the version of WordPress you are using. Many people have debated the need for this and recommend removing it especially if you haven't been upgrading WordPress regularly. A crawler can easily scan this info and look for sites that are running an older version of WordPress with a known exploit. <a href="http://developersmind.com/2010/06/03/how-to-tweak-the-wordpress-generator-tag-in-the-head/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPress adds a generator meta tag to the head element of every page that includes the version of WordPress you are using. Many people have debated the need for this and recommend removing it especially if you haven&#8217;t been upgrading WordPress regularly. A crawler can easily scan this info and look for sites that are running an older version of WordPress with a known exploit. You can add the following code to your theme&#8217;s <code>function.php</code> file or in a plugin.</p>
<h2>Tweak the WordPress Generator Meta Tag</h2>
<p>The following code will remove the version number from the meta tag:</p>
<pre class="brush: php;">
function devmnd_tweak_generator( $generator ) {
        return str_replace( ' ' . get_bloginfo( 'version' ), '', $generator );
}
add_filter( 'the_generator', 'devmnd_tweak_generator' );
</pre>
<p>Before: <code>&lt;meta name="generator" content="WordPress 3.0-RC1-15112" /&gt;</code><br />
After: <code>&lt;meta name="generator" content="WordPress" /&gt;</code></p>
<p>You can even add your own custom version number in the generator meta tag:</p>
<pre class="brush: php; gutter: false;">return str_replace( get_bloginfo( 'version' ), '4.0', $generator );</pre>
<h2>Remove the WordPress Generator Meta Tag:</h2>
<pre class="brush: php;">
if ( function_exists( 'wp_generator' ) ) {
        remove_action( 'wp_head', 'wp_generator' );
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/06/03/how-to-tweak-the-wordpress-generator-tag-in-the-head/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Enable MultiSite in WordPress 3.0</title>
		<link>http://developersmind.com/2010/05/17/enable-multi-site-in-wordpress-3-0/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=enable-multi-site-in-wordpress-3-0</link>
		<comments>http://developersmind.com/2010/05/17/enable-multi-site-in-wordpress-3-0/#comments</comments>
		<pubDate>Mon, 17 May 2010 07:29:19 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[MultiSite]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[WordPress MultiSite]]></category>

		<guid isPermaLink="false">http://developersmind.com/?p=481</guid>
		<description><![CDATA[WordPress 3.0 signals the merge of WordPress and WordPress MU and you can now manage multiple sites in WordPress. In this post, I'll show you how to enable the Network screen and the MultiSite features in WordPress 3.0. <a href="http://developersmind.com/2010/05/17/enable-multi-site-in-wordpress-3-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPress 3.0 signals the merge of WordPress and WordPress MU, and allows you to manage a network of sites in WordPress. In this post, I&#8217;ll show you how to enable the Network screen and the MultiSite features in WordPress 3.0. You do not need to complete these steps if you are upgrading from WordPress MU. Follow the instructions <a href="http://developersmind.com/2010/05/12/upgrading-wordpress-mu-2-9-2-to-wordpress-3-0-with-multisite/">here to upgrade from WordPress MU</a>. You will need to perform these steps if you are upgrading from a standard pre-3.0 WordPress install and want to use the MultiSite features or on a new WordPress 3.0 install.</p>
<h2>Enable Network Menu</h2>
<p style="width:350px;">Add the following line to wp-config.php:</p>
<pre class="brush: php; gutter: false;">define( 'WP_ALLOW_MULTISITE', true );</pre>
<p>The Network menu under Tools will not show up until you complete this step.</p>
<h2>Create a Network
<div style="float: right;"><a href="http://developersmind.com/files/2010/05/WordPress-3-0-Network.png"><img src="http://developersmind.com/files/2010/05/WordPress-3-0-Network1.png" alt="Network Menu in WordPress 3.0" title="WordPress-3-0-Network" width="145" height="148" class="alignright size-full wp-image-500" /></a></div>
</h2>
<p>Log in to the WordPress back-end and navigate to the Network screen under Tools. WordPress allows you to choose between sub-domain and sub-directory based installs for your network of sites. You can choose one or the other, but it&#8217;s not easy to change later, so you must decide before you proceed.</p>
<p><a href="http://developersmind.com/files/2010/05/Create-Network-in-WordPress-3-0.png"><img src="http://developersmind.com/files/2010/05/Create-Network-in-WordPress-3-0.png" alt="" title="Create-Network-in-WordPress-3-0" width="640" height="380" class="aligncenter size-full wp-image-518" /></a></p>
<h3>Sub-domains:</h3>
<p>A sub-domain install allows you to have new sites as sub-domains of your WordPress installation. For example, you can have site1.domain.com and site2.domain.com for a WordPress installation at domain.com. You will need to add a wildcard domain alias for your webserver and a wildcard DNS record for your domain. Matt has a detailed explanation about wildcard DNS records and domain alias <a href="http://ma.tt/2003/10/wildcard-dns-and-sub-domains/">here</a>.</p>
<h3>Sub-directories:</h3>
<p>A sub-directory install allows you to have new sites as sub-directories of your WordPress installation. For example, you can have domain.com/site1 and domain.com/site2 for a WordPress installation at domain.com.</p>
<h2>Enable Network</h2>
<h3>Create Media Directory:</h3>
<p>Create a <code>blogs.dir</code> directory under <code>wp-content</code> for all uploaded media files for all sites in the network. You must ensure that the new directory has the correct permissions so it is writable by the web-server (apache user).</p>
<h3>Update wp-config.php:</h3>
<p>Add the following lines to wp-config.php anywhere above <code>/* That’s all, stop editing! Happy blogging. */</code></p>
<pre class="brush: php; gutter: false; highlight: [2,4];">
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', true ); //false for sub-directory install
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'domain.com' ); //replace domain.com with your install
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
</pre>
</p>
<h3>Update/Create .htaccess:</h3>
<p>Create a file named .htaccess in the root WordPress directory and add the following:</p>
<h4>Apache and sub-directory installs:</h4>
<pre class="brush: bash; gutter: false;">
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</pre>
<h4>Apache and sub-domain installs:</h4>
<pre class="brush: bash; gutter: false;">
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
</pre>
<p>Replace all WordPress related .htaccess rules with the ones above if the file already exists.</p>
<h4>Rewrite Rules for Nginx and sub-directory installs:</h4>
<pre class="brush: bash; gutter: false;">
  #on server block
  ##necessary if using a multi-site plugin
  server_name_in_redirect off;
  ##necessary if running Nginx behind a reverse-proxy
  port_in_redirect off;

  rewrite ^.*/files/(.*)$ /wp-includes/ms-files.php?file=$1 last;
  if (!-e $request_filename) {
   rewrite ^.+?(/wp-.*) $1 last;
   rewrite ^.+?(/.*\.php)$ $1 last;
   rewrite ^ /index.php last;
  }
</pre>
<p><a href="http://developersmind.com/files/2010/05/Super-Admin.png"><img src="http://developersmind.com/files/2010/05/Super-Admin.png" alt="" title="Super-Admin" width="152" height="172" class="alignright size-full wp-image-574" /></a></p>
<p>Return to the WordPress back-end. You will have to log-in again and now you&#8217;ll see a Super Admin menu item. You can manage your network of sites from this menu.</p>
]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/05/17/enable-multi-site-in-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Upgrading WordPress MU 2.9.2 to WordPress 3.0 (beta) with MultiSite</title>
		<link>http://developersmind.com/2010/05/12/upgrading-wordpress-mu-2-9-2-to-wordpress-3-0-beta-with-multisite/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=upgrading-wordpress-mu-2-9-2-to-wordpress-3-0-beta-with-multisite</link>
		<comments>http://developersmind.com/2010/05/12/upgrading-wordpress-mu-2-9-2-to-wordpress-3-0-beta-with-multisite/#comments</comments>
		<pubDate>Wed, 12 May 2010 07:39:57 +0000</pubDate>
		<dc:creator>Pete Mall</dc:creator>
				<category><![CDATA[MultiSite]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[2.9.2]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[Upgrading]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress MultiSite]]></category>

		<guid isPermaLink="false">http://developersmind.jointforcestech.com/?p=357</guid>
		<description><![CDATA[The main feature of the WordPress 3.0 is the merge of WordPress MU. However, upgrading from WordPress MU to WordPress 3.0 (beta 2) is not an automatic single-click process. In this post, I&#8217;ll cover upgrading WordPress MU 2.9.2 to WordPress &#8230; <a href="http://developersmind.com/2010/05/12/upgrading-wordpress-mu-2-9-2-to-wordpress-3-0-beta-with-multisite/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The main feature of the WordPress 3.0 is the merge of WordPress MU. However, upgrading from WordPress MU to WordPress 3.0 (beta 2) is not an automatic single-click process. In this post, I&#8217;ll cover upgrading WordPress MU 2.9.2 to WordPress 3.0 (beta 2).</p>
<ol>
<li>Replace WordPress Files:</li>
<p>Download and unzip the latest version of WordPress 3.0 (<a href="http://wordpress.org/wordpress-3.0-beta2.zip">beta 2</a><a></a>). Delete the <code>wp-admin</code> and <code>wp-includes</code> folders. Upload the unzipped files to the server, overwriting the old files. Ensure that you overwrite all the files and pay attention to the wp-content folder. You must overwrite the files in this folder and not replace the folder with the new one since it contains the themes and plugins.</p>
<li>Update WordPress:</li>
<p>Log in to the WordPress back-end and follow the link to the Update Network screen to update all sites(blogs) in your network.<a href="http://developersmind.com/files/2010/05/2.png"><img src="http://developersmind.com/files/2010/05/2-1024x365.png" alt="" title="2" width="640" height="228" class="aligncenter size-large wp-image-456" /></a></p>
<li>Update <code>wp-config</code>:</li>
<p>WordPress encrypts cookies but you must add <code>NONCE_SALT</code> code shown at the top of the admin area to wp-config.php. For example: <code>define( 'NONCE_SALT', 'a<U3S[ g<.4I)#p^-iy?sbb3JPu+W~-Zk|aPLMN[TvoiHIKGI_bbB-h?iliBb2ra' )</code>. This code will be unique to your installation. Add it above the line that says: <code>/* That's all, stop editing! Happy blogging. */</code></p>
<pre class="brush: php; gutter: false; highlight: [3];">define( &quot;WP_USE_MULTIPLE_DB&quot;, false );

define( 'NONCE_SALT', 'a&lt;U3S[ g&lt;.4I)#p^-iy?sbb3JPu+W~-Zk|aPLMN[TvoiHIKGI_bbB-h?iliBb2ra' );

/* That's all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');</pre>
</p>
<li>Update Rewrite Rules:</li>
<p>The <code>wp-content/blogs.php</code> file was deprecated in WordPress 3.0 and you must update the rewrite rules to use <code>wp-includes/ms-files.php</code>. Delete <code>wp-content/blogs.php</code> and change it to<code> wp-includes/ms-files.php</code> in <code>.htaccess</code>:</p>
<pre class="brush: bash; gutter: false; highlight: [7];">
RewriteEngine On
RewriteBase /

#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

&lt;IfModule mod_security.c&gt;
&lt;Files async-upload.php&gt;
SecFilterEngine Off
SecFilterScanPOST Off
&lt;/Files&gt;
&lt;/IfModule&gt;
</pre>
<p><code>wpmu-settings.php</code> was also deprecated in WordPress 3.0 and can be deleted.</p>
</ol>
<p>You should always backup your databases before attempting to upgrade WordPress. If you are not sure how to backup your database, you can find complete instructions in the <a href="http://codex.wordpress.org/WordPress_Backups">WordPress Codex</a>.</p>
<p><a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F05%2F12%2Fupgrading-wordpress-mu-2-9-2-to-wordpress-3-0-beta-with-multisite%2F&amp;linkname=Upgrading%20WordPress%20MU%202.9.2%20to%20WordPress%203.0%20%28beta%29%20with%20MultiSite" title="Twitter" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F05%2F12%2Fupgrading-wordpress-mu-2-9-2-to-wordpress-3-0-beta-with-multisite%2F&amp;linkname=Upgrading%20WordPress%20MU%202.9.2%20to%20WordPress%203.0%20%28beta%29%20with%20MultiSite" title="Facebook" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F05%2F12%2Fupgrading-wordpress-mu-2-9-2-to-wordpress-3-0-beta-with-multisite%2F&amp;linkname=Upgrading%20WordPress%20MU%202.9.2%20to%20WordPress%203.0%20%28beta%29%20with%20MultiSite" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fdevelopersmind.com%2F2010%2F05%2F12%2Fupgrading-wordpress-mu-2-9-2-to-wordpress-3-0-beta-with-multisite%2F&amp;linkname=Upgrading%20WordPress%20MU%202.9.2%20to%20WordPress%203.0%20%28beta%29%20with%20MultiSite" title="Digg" rel="nofollow" target="_blank"><img src="http://developersmind.jointforcestech.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share</a> </p>]]></content:encoded>
			<wfw:commentRss>http://developersmind.com/2010/05/12/upgrading-wordpress-mu-2-9-2-to-wordpress-3-0-beta-with-multisite/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
	</channel>
</rss>
