<?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>A Fool's Wisdom &#187; WordPress</title>
	<atom:link href="http://foolswisdom.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://foolswisdom.com</link>
	<description>A fool and his blog are soon parted.</description>
	<lastBuildDate>Thu, 18 Mar 2010 22:04:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
		<item>
		<title>WordPress 3 Coming Together</title>
		<link>http://foolswisdom.com/wordpress-3-coming-together/</link>
		<comments>http://foolswisdom.com/wordpress-3-coming-together/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 00:33:40 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Kubrick Theme]]></category>
		<category><![CDATA[twentyten theme]]></category>
		<category><![CDATA[WordPress 3.0]]></category>
		<category><![CDATA[WordPress Development]]></category>
		<category><![CDATA[WordPress Themes]]></category>

		<guid isPermaLink="false">http://foolswisdom.com/?p=2344</guid>
		<description><![CDATA[The delirious pace of WordPress 3 development has been delicious!
I&#8217;ve enjoyed not being able to keep up at all.
The sprint is on to feature freeze!
There’s going to be a patch sprint of sorts for 3.0 this week. Please grab a&#160;&#8230; <a href="http://foolswisdom.com/wordpress-3-coming-together/">Continue&#160;reading&#160;<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The delirious pace of WordPress 3 development has been delicious!</p>
<p>I&#8217;ve enjoyed not being able to keep up at all.</p>
<p>The sprint is on to feature freeze!</p>
<blockquote><p>There’s going to be a patch sprint of sorts for 3.0 this week. Please grab a <strong>ticket, triage, patch or test</strong>:<a rel="nofollow" href="http://core.trac.wordpress.org/report/32">http://core.trac.wordpress.org/report/32</a>. The feature freeze is March 1, so everything still on that report in <strong>7 days</strong> from now will be punted to a future release.</p>
<p>There are a few incomplete tasks out there that need to get done to finish implementing new features (both small ones on that report, and the major 3.0 features). If you’re interested in helping but aren’t sure where you can, venture over to #wordpress-dev.</p>
<p><cite><a href="http://wpdevel.wordpress.com/2010/02/22/theres-going-to-be-a-patch-sprint-of-s/">Andrew Nacin on wpdevel</a>, Feb 22th, 2010</cite></p></blockquote>
<p>Jane Wells puts up a &#8220;<a href="http://jane.wordpress.com/2010/02/20/patches-welcome/">Patches Welcome</a>&#8221; sign on a &#8220;a handful of small UI enhancement tickets that are low priority for the hardcore devs, but that I’d still like to see make it into 3.0.&#8221; Jane will &#8220;try to post a couple of pet tickets each day throughout the <strong>sprint week</strong> that is coming up.&#8221;</p>
<p>Better, stronger, faster blog network creation and management will be huge!</p>
<p>Mostly I can&#8217;t wait for the <a href="http://2010dev.wordpress.com/">twenty ten theme</a>, and the slow death of the (poorly) justified text that may have been the <a href="http://ma.tt/2010/01/secret-history-of-kubrick/">Kubrick themes</a> only shortcoming.</p>
<p>PS. Emphasis above and below (bold) is all mine.</p>
<p>PPS. <strong>WordPress 3</strong> will look so good in the title of the next technical book you write <img src='http://foolswisdom.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Wednesday, Feb 23, 2010 Update: Jane has posted &#8220;<a href="http://wordpress.org/development/2010/02/menus-merge-patch-sprint/">Menus, the Merge, and a Patch Sprint!</a>&#8220; with details on the WordPress Development Blog, including the tidbit that WordPress 3 will have much improved menu management.</p>
]]></content:encoded>
			<wfw:commentRss>http://foolswisdom.com/wordpress-3-coming-together/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress Declaration of Independence</title>
		<link>http://foolswisdom.com/wordpress-independence/</link>
		<comments>http://foolswisdom.com/wordpress-independence/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 21:06:50 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[Free Culture]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[501(c)3 non-profit organization]]></category>
		<category><![CDATA[GNU Public License]]></category>
		<category><![CDATA[GPL]]></category>
		<category><![CDATA[Matt Mullenweg]]></category>
		<category><![CDATA[Non-Profit]]></category>
		<category><![CDATA[Web Publishing]]></category>
		<category><![CDATA[WordPress Foundation]]></category>
		<category><![CDATA[WordPress.com]]></category>

		<guid isPermaLink="false">http://foolswisdom.com/?p=2303</guid>
		<description><![CDATA[The WordPress Foundation is a charitable organization founded by Matt Mullenweg to further the mission of the WordPress open source project: to democratize publishing through Open Source, GPL software.
The point of the foundation is to ensure free access, in perpetuity, to&#160;&#8230; <a href="http://foolswisdom.com/wordpress-independence/">Continue&#160;reading&#160;<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>The WordPress Foundation is a charitable organization founded by Matt Mullenweg to further the mission of the WordPress open source project: to democratize publishing through Open Source, <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a> software.</p>
<p>The point of the foundation is to ensure free access, in perpetuity, to the projects we support. People and businesses may come and go, so it is important to ensure that the source code for these projects will survive beyond the current contributor base, that we may create a <strong>stable platform for web publishing for generations to come</strong>. As part of this mission, the Foundation will be responsible for protecting the WordPress, WordCamp, and related trademarks. A 501(c)3 non-profit organization, the WordPress Foundation will also pursue a charter to educate the public about WordPress and related open source software.</p>
<p>We hope to gather broad community support to make sure we can <strong>continue to serve the public good</strong> through freely accessible software.</p>
<p><cite>About Web page, <a href="http://wordpressfoundation.org/">WordPress Foundation</a></cite></p></blockquote>
<p>There are already a lot of great comments on the welcome post &#8220;<a href="http://wordpressfoundation.org/2010/getting-off-the-ground/">Getting off the ground</a>&#8220;. Here is a one of the many juicy comments made by <a href="http://ma.tt/">Matt</a> in response to a question posted there:</p>
<blockquote><p>Sure, as a quick summary: [Wordpress.com and the Wordpress Foundation] completely separate, but share a similar name and my involvement. One is for-profit, the other non-profit. They both have similar goals in terms, but the Foundation can take a long-term multi-decade approach to solving these problems without regard for short term profit, market conditions, or shareholders. I’ve always had a vision for two simultaneous approaches to the WordPress way, the heart and the mind, but it’s just now coming together.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://foolswisdom.com/wordpress-independence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Versatile and Elegant, WordPress, Democratizing Publishing</title>
		<link>http://foolswisdom.com/wordpress-democratizing-publishing/</link>
		<comments>http://foolswisdom.com/wordpress-democratizing-publishing/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 21:11:07 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Kubrick WordPress Theme]]></category>
		<category><![CDATA[Software Design]]></category>
		<category><![CDATA[Software Products]]></category>
		<category><![CDATA[Tina Daunt]]></category>
		<category><![CDATA[WordPress Themes]]></category>

		<guid isPermaLink="false">http://foolswisdom.com/?p=2289</guid>
		<description><![CDATA[The combination of the elegant and versatile WordPress and the ground breaking Kubrick made that possible, turning the democratization of publishing from an idealized concept into a concrete reality.
Tina Daunt, &#8220;The Secret History of Kubrick, the Blog Theme That Changed&#160;&#8230; <a href="http://foolswisdom.com/wordpress-democratizing-publishing/">Continue&#160;reading&#160;<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>The combination of the elegant and versatile WordPress and the ground breaking Kubrick made that possible, turning the democratization of publishing from an idealized concept into a concrete reality.<br />
<cite>Tina Daunt, &#8220;<a href="http://www.huffingtonpost.com/tina-daunt/the-secret-history-of-kub_b_415050.html">The Secret History of Kubrick, the Blog Theme That Changed the Internet</a>&#8220;, Huffington Post, Jan 8th, 2010</cite><cite></cite></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://foolswisdom.com/wordpress-democratizing-publishing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free and Open Source from the Roots Up</title>
		<link>http://foolswisdom.com/roots-up/</link>
		<comments>http://foolswisdom.com/roots-up/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 19:26:01 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[Free Culture]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Automattic]]></category>
		<category><![CDATA[codepoet]]></category>
		<category><![CDATA[Free and Open Source from the Roots Up]]></category>
		<category><![CDATA[Matt Mullenweg]]></category>
		<category><![CDATA[Paul Kim]]></category>
		<category><![CDATA[Toni Schneider]]></category>
		<category><![CDATA[Upends institutionalized notions of competitive advantage]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress.com VIPs]]></category>

		<guid isPermaLink="false">http://foolswisdom.com/?p=2096</guid>
		<description><![CDATA[&#8220;Free and open source from the roots up. “Open source” can be much more than a development methodology. For me, it also constitutes a world view that upends institutionalized notions of competitive advantage that saw their apex in the twentieth&#160;&#8230; <a href="http://foolswisdom.com/roots-up/">Continue&#160;reading&#160;<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;<strong>Free and open source from the roots up.</strong> “Open source” can be much more than a development methodology. For me, it also constitutes a world view that upends institutionalized notions of competitive advantage that saw their apex in the twentieth century.&#8221;</p>
<p>Excerpt from <a href="http://blog.numenity.org/">Paul Kim</a>&#8217;s &#8220;<a href="http://blog.numenity.org/2009/09/09/why-i-joined-automattic/">Why I Joined Automattic</a>&#8221; published September 9, 2009.<!-- by Paul Kim --><a href="http://blog.numenity.org/2009/09/09/why-i-joined-automattic/#comments"></a></p></blockquote>
<div class="wp-caption alignright" style="width: 250px"><img class="  " title="Photo of Man Backflipping into Water" src="http://farm3.static.flickr.com/2206/2058764760_e6862d7913_m.jpg" alt="Freedom by Abnel Gonzalez, Hosted on Flickr, CC by" width="240" height="161" /><p class="wp-caption-text">Freedom by Abnel Gonzalez, CC by, Flickr Hosted</p></div>
<p>I&#8217;ve come to think of the people who build open source and free culture into their businesses as not only having the creativity and resolve to put their values at the core of their businesses, but also the foresight and humility to know that the future is always built on the past, that the future is outside of their control, but possibly not their contribution.</p>
<p>This is one of the main reasons I so enjoy working with <a href="http://ma.tt/">Matt Mullenweg</a>, <a href="http://toni.org/">Toni Schneider</a>, the rest of the <a href="http://automattic.com/">Automattic</a> crew, and the <a href="http://en.wordpress.com/vip-hosting/">WordPress.com VIPs</a> and <a href="http://codepoet.com/">WordPress businesses</a> I get to so regularly interact with. I&#8217;m ecstatic that Paul has joined us!</p>
]]></content:encoded>
			<wfw:commentRss>http://foolswisdom.com/roots-up/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Everything In Our Power</title>
		<link>http://foolswisdom.com/everything-in-our-power/</link>
		<comments>http://foolswisdom.com/everything-in-our-power/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 16:52:25 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[open source participants]]></category>
		<category><![CDATA[Partici]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://foolswisdom.com/?p=2092</guid>
		<description><![CDATA[WordPress is a community of hundreds of people that read the code every day, audit it, update it, and care enough about keeping your blog safe that we do things like release updates weeks apart from each other even though&#160;&#8230; <a href="http://foolswisdom.com/everything-in-our-power/">Continue&#160;reading&#160;<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>WordPress is a community of hundreds of people that read the code every day, audit it, update it, and care enough about keeping your blog safe that we do things like release updates weeks apart from each other even though it makes us look bad, because updating is going to keep your blog safe from the bad guys. I’m not clairvoyant and I can’t predict what schemes spammers, hackers, crackers, and tricksters will come up with with in the future to harm your blog, but I do know for certain that as long as WordPress is around we’ll do everything in our power to make sure the software is safe. We’ve already made upgrading core and plugins a one-click procedure. If we find something broken, we’ll release a fix. Please upgrade, it’s the only way we can help each other.</p>
<p><a href="http://ma.tt/">Matt Mullenweg</a>, September 5, 2009, &#8220;<a href="http://wordpress.org/development/2009/09/keep-wordpress-secure/">How to Keep WordPress Secure</a>&#8220;, <a href="http://wordpress.org/development/2009/09/keep-wordpress-secure/"></a></p></blockquote>
<p>Do read the rest of the potent post &#8212; articulate, insightful, and honest.</p>
]]></content:encoded>
			<wfw:commentRss>http://foolswisdom.com/everything-in-our-power/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wp-content in Code is a Tell for Common WordPress Coding Mistakes</title>
		<link>http://foolswisdom.com/wp-content-in-code-common-mistakes/</link>
		<comments>http://foolswisdom.com/wp-content-in-code-common-mistakes/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 18:59:39 +0000</pubDate>
		<dc:creator>Lloyd</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Absolution Paths]]></category>
		<category><![CDATA[ABSPATH]]></category>
		<category><![CDATA[bloginfo()]]></category>
		<category><![CDATA[Duane Storey]]></category>
		<category><![CDATA[get_stylesheet_directory()]]></category>
		<category><![CDATA[get_stylesheet_directory_uri()]]></category>
		<category><![CDATA[get_stylesheet_uri()]]></category>
		<category><![CDATA[Mark Jaquith]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Plugin Development]]></category>
		<category><![CDATA[Relative Paths]]></category>
		<category><![CDATA[STYLESHEETPATH]]></category>
		<category><![CDATA[TEMPLATEPATH]]></category>
		<category><![CDATA[URLs]]></category>
		<category><![CDATA[Will Norris]]></category>
		<category><![CDATA[WordPress Plugin Checker]]></category>
		<category><![CDATA[WordPress Theme Development]]></category>
		<category><![CDATA[WordPress.com]]></category>
		<category><![CDATA[wp-content]]></category>
		<category><![CDATA[WP_CONTENT_DIR]]></category>

		<guid isPermaLink="false">http://foolswisdom.com/?p=1813</guid>
		<description><![CDATA[Regularly while reviewing themes and plugins, I&#8217;ll see URLs or paths that include &#8216;wp-content&#8217;. This is a often a hint of a WordPress coding mistake.
Consider this simple example:
&#60;link rel="stylesheet" href="http://example.com/wp-content/themes/default/style-ie.css" type="text/css" media="screen" /&#62;
If as part of a migration or server&#160;&#8230; <a href="http://foolswisdom.com/wp-content-in-code-common-mistakes/">Continue&#160;reading&#160;<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Regularly while reviewing themes and plugins, I&#8217;ll see URLs or paths that include &#8216;wp-content&#8217;. This is a often a hint of a WordPress coding mistake.</p>
<p>Consider this simple example:<br />
<code>&lt;link rel="stylesheet" href="http://example.com/wp-content/themes/default/style-ie.css" type="text/css" media="screen" /&gt;</code></p>
<p>If as part of a migration or server change, WordPress ends up in a sub-directory this will break.</p>
<p>For file system based access, if I see <code>ABSPATH . '/wp-content/</code> &#8230; things are likely OK, though if <code><a href="http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content">WP_CONTENT_DIR</a></code> or similar are changed, this will also break.</p>
<p>I&#8217;m tempted to use the constant <code>STYLESHEETPATH</code> or is it <code>TEMPLATEPATH</code>? But, those are static variables initialized early in the WordPress run.</p>
<p>I&#8217;ve been meaning to write this article for a while. Serendipitously, when I went to write a first draft of it, <a href="http://markjaquith.com/">Mark Jaquith</a>&#8217;s had just published &#8220;<a href="http://markjaquith.wordpress.com/2009/05/04/force-css-changes-to-go-live-immediately/">Force CSS changes to “go live” immediately</a>&#8220;.</p>
<p>In the comments, <a href="http://op111.net/">demetris</a> <a href="http://markjaquith.wordpress.com/2009/05/04/force-css-changes-to-go-live-immediately/#comment-92283">suggests</a> using STYLESHEETPATH, but <a href="http://willnorris.com/">Will Norris</a> quickly <a href="http://markjaquith.wordpress.com/2009/05/04/force-css-changes-to-go-live-immediately/#comment-92284">points out</a> &#8220;sure, but you still have the same problem of bypassing any plugins that may be using the ’stylesheet_directory’ hook to pull the stylesheet from some place else entirely.&#8221;</p>
<p>Mark&#8217;s solution beautiful illustrates how to get the the URL location of the theme&#8217;s files and also directly the URL for the main stylesheet style.css:</p>
<p><code>&lt;link rel="stylesheet" href="&lt;?php <strong>bloginfo('stylesheet_url')</strong>; echo '?' . filemtime( <strong>get_stylesheet_directory()</strong> . '/style.css'); ?&gt;" type="text/css" media="screen, projection" /&gt;</code></p>
<p>What Will describes is exactly what WordPress.com depends on. We have a similar, but much more complex solution to deal with the CSS in the content delivery network (CDN) going stale on updates, and also some web browser&#8217;s with their funky caches not keeping up. Our solution is both for WordPress&#8217;s front end and dashboard (also dealing with the various ways CSS can be called or @imported).</p>
<p>I do have one niggle about Mark&#8217;s solution, and it&#8217;s the same with most WordPress code out there, the use of <code>bloginfo()</code>. Strings within strings within strings within strings give me headache, so to ease readability and make it more verbose replace:</p>
<p><code>bloginfo('stylesheet_url');</code> with<code><br />
echo get_stylesheet_uri();</code></p>
<p><code>bloginfo('stylesheet_directory');</code> with<br />
<code>echo get_stylesheet_directory_uri();</code></p>
<p>If you look up in the <a href="http://codex.wordpress.org/">codex</a> <code>get_stylesheet_directory()</code> you&#8217;ll see that would be the file system path, which is confusing given the behavior of <code>bloginfo('stylesheet_directory');</code> returning the URL. This presents another reason why I favor the consistency of always using the specific getter function calls. Also, when I&#8217;m using <code>bloginfo()</code> calls, I have a tendency to get in a mind set where I think I&#8217;m directly retrieving the option in the database (accessing directly the info shown in <code>wp-admin/options.php</code>). By using the specific getter function, I remember that there are hooks (actions, filters) that might be triggered.</p>
<p>Some of the other areas, I see <code>wp-content</code> is in CSS style sheets themselves. <strong>Relative paths</strong> are almost always the correct solution.</p>
<p>Far more painful for me are the plugins that assume where plugins are, because this can take quite a bit of debugging to unwind the assumptions.</p>
<p>That is a topic for me to postulate on another day. Will has written the very relevant &#8220;<a href="http://willnorris.com/2009/06/wordpress-plugin-pet-peeve-2-direct-calls-to-plugin-files">WordPress Plugin Pet Peeve #2: Direct Calls to Plugin Files</a>&#8220;. <a href="http://www.duanestorey.com/">Duane Storey</a> has taken a crack at a &#8220;<a href="http://www.duanestorey.com/blog/2009/wordpress-plugin-checker/">WordPress Plugin Checker</a>&#8220;  for these and other common problems (which I&#8217;m certain he would enjoy feedback on).</p>
]]></content:encoded>
			<wfw:commentRss>http://foolswisdom.com/wp-content-in-code-common-mistakes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
