<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Helping you contribute, one patch at a time</title>
	<atom:link href="http://patcheswelcome.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://patcheswelcome.wordpress.com</link>
	<description>&#34;Patches Welcome&#34;</description>
	<lastBuildDate>Fri, 12 Nov 2010 10:09:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='patcheswelcome.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/b551fa1903a9507af8467cc4a3c18298?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Helping you contribute, one patch at a time</title>
		<link>http://patcheswelcome.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://patcheswelcome.wordpress.com/osd.xml" title="Helping you contribute, one patch at a time" />
	<atom:link rel='hub' href='http://patcheswelcome.wordpress.com/?pushpress=hub'/>
		<item>
		<title>My First Patch: Scott Reilly &#8211; coffee2code</title>
		<link>http://patcheswelcome.wordpress.com/2010/10/28/my-first-patch-scott-reilly-coffee2code/</link>
		<comments>http://patcheswelcome.wordpress.com/2010/10/28/my-first-patch-scott-reilly-coffee2code/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 20:46:59 +0000</pubDate>
		<dc:creator>Peter Westwood</dc:creator>
				<category><![CDATA[My first patch]]></category>
		<category><![CDATA[coffee2code]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://patcheswelcome.wordpress.com/?p=58</guid>
		<description><![CDATA[Here is the next in the series of posts about your first patch and the experience of getting involved. I now hand you over to Scott &#8220;coffee2code&#8221; Reilly to talk about his first patch: WordPress was already a quite capable &#8230; <a href="http://patcheswelcome.wordpress.com/2010/10/28/my-first-patch-scott-reilly-coffee2code/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=58&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Here is the next in the series of posts about your first patch and the experience of getting involved. I now hand you over to <a href="http://coffee2code.com/">Scott &#8220;coffee2code&#8221; Reilly</a> to talk about his first patch:<br />
</em></p>
<p>WordPress was already a quite capable blogging platform when I first got involved with it over six years ago.  However, it wasn&#8217;t without significant issues.  But unlike during my years using Movable Type, I was compelled to pitch in and help fix those issues.  Maybe it was the active and friendly community.  Maybe it was the palpable potential.  Whatever the reason, from day one I&#8217;ve always felt the responsibility to contribute to and improve the project.</p>
<p>What specifically sparked my involvement with WordPress development were a number of <a href="http://coffee2code.com/archives/2004/06/29/wordpress-formatting-bugs/">formatting bugs</a>.  Turns out I wasn&#8217;t the only one <a href="http://core.trac.wordpress.org/ticket/53">experiencing these issues</a>.  After closer inspection and testing, I <a href="http://coffee2code.com/archives/2004/08/02/examining-balancetags/">identified and provided examples of six bugs</a> related to tag balancing:</p>
<ul>
<li>User text gets irretrievably deleted</li>
<li>Insertion of non-sensical &lt;/&gt; &#8220;tag&#8221;</li>
<li>Tags not getting balanced in certain situations (particularly when following an HTML comment)</li>
<li>Improper balancing of unclosed tags</li>
<li>Insertion of a close tag for &lt;input /&gt;, which is a single-entity tag</li>
<li>Unclosed single-entity tags do not get closed</li>
</ul>
<p>The most egregious being of course the possibility for WordPress to lose user content.  The other issues resulted in broken tag semantics and validation, as well as often causing browser rendering issues for pages.</p>
<p>The culprit for all the issues listed above was <code>balanceTags()</code> (now called <code>force_balance_tags()</code>).  Since that bit of code can seem a bit hairy at first glance and requires some close analysis to understand what it&#8217;s doing and how it&#8217;s doing it, I decided to make a blog post to <a href="http://coffee2code.com/archives/2004/08/03/fixing-balancetags/">explain the changes I made</a>.</p>
<p><a href="http://core.trac.wordpress.org/attachment/ticket/53/0000053-balancetags-patch2.diff">The patch</a> was officially <a href="http://core.trac.wordpress.org/changeset/2057">applied by Matt</a> to trunk about five months later, on January 6, 2005, in time for WordPress 1.5.</p>
<p>Oddly enough, I just recently found myself <a href="http://core.trac.wordpress.org/ticket/1597#comment:14">again contributing a patch</a> that involved modification of <code>force_balance_tags()</code>.</p>
<p>I&#8217;m pleased to have been a part of WordPress for so long and to have contributed directly to core or indirectly via <a href="http://coffee2code.com/wp-plugins/">plugins</a>.  Most of all I&#8217;m pleased to have seen WordPress grow and help so many people in so many ways.</p>
<p><em>Note: My first patch applied to core was actually for <a title="Post content 'lost' if multiple &lt;!--more--&gt; (more...) tags used." href="http://core.trac.wordpress.org/ticket/113">#113</a>, applied in <a href="http://core.trac.wordpress.org/changeset/1519">[1519]</a> by Ryan on August 8, 2004.</em></p>
<p><em>Editors Note: Please let me know if you would like to share your experiences writing your first patch for the core of WordPress.</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patcheswelcome.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patcheswelcome.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patcheswelcome.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patcheswelcome.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patcheswelcome.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patcheswelcome.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patcheswelcome.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patcheswelcome.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patcheswelcome.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patcheswelcome.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patcheswelcome.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patcheswelcome.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patcheswelcome.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patcheswelcome.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=58&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://patcheswelcome.wordpress.com/2010/10/28/my-first-patch-scott-reilly-coffee2code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3b5ce04dd402124aba53142b3e47f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">westi</media:title>
		</media:content>
	</item>
		<item>
		<title>How do I report documentation bugs for WordPress?</title>
		<link>http://patcheswelcome.wordpress.com/2010/09/04/how-do-i-report-documentation-bugs-for-wordpress/</link>
		<comments>http://patcheswelcome.wordpress.com/2010/09/04/how-do-i-report-documentation-bugs-for-wordpress/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 11:23:05 +0000</pubDate>
		<dc:creator>Peter Westwood</dc:creator>
				<category><![CDATA[Questions]]></category>
		<category><![CDATA[codex]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://patcheswelcome.wordpress.com/?p=54</guid>
		<description><![CDATA[Lee asks: How do I report documentation bugs for WordPress? Just through trac? The answer to this depends on what documentation you have found a bug in. If the error is in the codex documentation anyone with a WordPress.org login &#8230; <a href="http://patcheswelcome.wordpress.com/2010/09/04/how-do-i-report-documentation-bugs-for-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=54&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/leewillis77">Lee</a> <a href="http://twitter.com/leewillis77/statuses/22959642014">asks</a>:</p>
<blockquote cite="http://twitter.com/leewillis77/statuses/22959642014"><p>How do I report documentation bugs for WordPress? Just through trac?</p></blockquote>
<p>The answer to this depends on what documentation you have found a bug in.</p>
<p>If the error is in the codex documentation anyone with a WordPress.org login can edit the codex and correct the error themselves.</p>
<p>If the error is in the inline documentation in the source code then the best place to report this is a new ticket in <a href="https://core.trac.wordpress.org/newticket?component=Inline%20Docs">trac</a> setting the component to &#8220;Inline Docs&#8221;.</p>
<p>Finally, if the error is in the documentation in the rest of the WordPress.org website then again the best place to report the issue is in <a href="https://core.trac.wordpress.org/newticket?component=WordPress.org">trac</a> this time setting the component to &#8220;WordPress.org&#8221;.</p>
<p><em>Do you have a question about contributing to WordPress if so please <a href="http://patcheswelcome.wordpress.com/ask-a-question/">ask</a>!</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patcheswelcome.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patcheswelcome.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patcheswelcome.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patcheswelcome.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patcheswelcome.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patcheswelcome.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patcheswelcome.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patcheswelcome.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patcheswelcome.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patcheswelcome.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patcheswelcome.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patcheswelcome.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patcheswelcome.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patcheswelcome.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=54&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://patcheswelcome.wordpress.com/2010/09/04/how-do-i-report-documentation-bugs-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3b5ce04dd402124aba53142b3e47f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">westi</media:title>
		</media:content>
	</item>
		<item>
		<title>What version of WordPress do you use to create a patch file?</title>
		<link>http://patcheswelcome.wordpress.com/2010/08/21/what-version-of-wordpress-do-you-use-to-create-a-patch-file/</link>
		<comments>http://patcheswelcome.wordpress.com/2010/08/21/what-version-of-wordpress-do-you-use-to-create-a-patch-file/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 09:22:45 +0000</pubDate>
		<dc:creator>Peter Westwood</dc:creator>
				<category><![CDATA[Questions]]></category>

		<guid isPermaLink="false">http://patcheswelcome.wordpress.com/?p=49</guid>
		<description><![CDATA[Jonny asks: I am really eager to start contributing to the core, but have only submitted one ticket so far (for which a patch was kindly created for me!). I know it sounds silly, but I do have one question &#8230; <a href="http://patcheswelcome.wordpress.com/2010/08/21/what-version-of-wordpress-do-you-use-to-create-a-patch-file/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=49&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jonnya.net">Jonny</a> asks:</p>
<blockquote><p>I am really eager to start contributing to the core, but have only submitted one ticket so far (for which a patch was kindly created for me!).</p>
<p>I know it sounds silly, but I do have one question &#8211; what version of WordPress do you create a patch/diff file using? I am connected to the WordPress SVN repository at core.svn.wordpress.org &#8211; is it the version in &#8216;trunk&#8217;? Just want to make sure I get it right to save anyone having to do this for me again, thanks!</p></blockquote>
<p>In most cases the version of WordPress you want to create a patch against would be the version in <code>trunk</code>. The only reason for not using <code>trunk</code> is if the issue is severe enough that it needs to be fixed in a point release.</p>
<p>At any time there are usually two active development streams within the WordPress subversion repository.  The first of these is the development for the next major release which will occur in the <code>trunk</code> version.  The second of these is the development of the next minor or point release which will occur in the relevant branch.  For example at the moment we have <code>branches/3.0/</code> which is where development for the next 3.0.x release occurs.</p>
<p><em>Do you have a question about contributing to WordPress if so please <a href="http://patcheswelcome.wordpress.com/ask-a-question/">ask</a>!</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patcheswelcome.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patcheswelcome.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patcheswelcome.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patcheswelcome.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patcheswelcome.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patcheswelcome.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patcheswelcome.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patcheswelcome.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patcheswelcome.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patcheswelcome.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patcheswelcome.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patcheswelcome.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patcheswelcome.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patcheswelcome.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=49&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://patcheswelcome.wordpress.com/2010/08/21/what-version-of-wordpress-do-you-use-to-create-a-patch-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3b5ce04dd402124aba53142b3e47f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">westi</media:title>
		</media:content>
	</item>
		<item>
		<title>When does a ticket really need a patch?</title>
		<link>http://patcheswelcome.wordpress.com/2010/07/28/when-does-a-ticket-really-need-a-patch/</link>
		<comments>http://patcheswelcome.wordpress.com/2010/07/28/when-does-a-ticket-really-need-a-patch/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 16:08:03 +0000</pubDate>
		<dc:creator>Peter Westwood</dc:creator>
				<category><![CDATA[Questions]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[needs-patch]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://patcheswelcome.wordpress.com/?p=34</guid>
		<description><![CDATA[Welcome to the first question and answer post on &#8220;Patches Welcome&#8221;.  If you have a question about contributing to WordPress please ask! Tim asks: I&#8217;m wondering how best to tell when a Trac ticket really needs a patch. Sometimes it &#8230; <a href="http://patcheswelcome.wordpress.com/2010/07/28/when-does-a-ticket-really-need-a-patch/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=34&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Welcome to the first question and answer post on &#8220;Patches Welcome&#8221;.  If </em><em>you have a question about contributing to WordPress please <a href="http://patcheswelcome.wordpress.com/ask-a-question/">ask</a>!</em></p>
<p><a href="http://www.dreaminginbetween.com/wordpress/">Tim</a> asks:</p>
<blockquote><p>I&#8217;m wondering how best to tell when a Trac ticket really needs a patch. Sometimes it seems like a ticket has the &#8220;needs-patch&#8221; tag, but is still being discussed. How can a newcomer best tell when to jump in and produce code?</p></blockquote>
<p>I agree that for a newcomer it can be difficult to decide if a ticket really still needs a patch.  Here is the list of questions I would go through in my head when looking at a ticket to decide if it is ready for or still needs a patch, some are obvious some not so obvious.<span id="more-34"></span></p>
<p><strong>Is consensus building on the right solution?</strong> Just because discussion is still ongoing about what the right solution might be doesn&#8217;t necessarily mean that it is the wrong time to offer up a patch.  Often a patch can be the best way to express the technicalities of your suggestion and to allow people to try your ideas out.  If you can figure a popular direction or consensus that is building it is well worth the time to work on a patch.  The availability of a coded solution can be enough to sway a discussion in a particular direction.</p>
<p><strong>Is the ticket patch less?</strong> Check to see if someone has already submitted a patch on the ticket.  If they have and the patch works for your please change the keywords from <em>needs-patch</em> to <em>has-patch</em> and leave a comment about what testing you did.</p>
<p><strong>Was the <em>needs-patch</em> keyword added / re-added after the latest patch was submitted?</strong> This generally means that someone has reviewed the patch and it needs some improvements before it is ready to be committed to the core.  Usually they will leave a comment describing the issues with the patch so you should know what needs to be addressed.</p>
<p><strong>Is there feedback on the ticket as to improvements that can be made to the patch or test cases which fail when the patch is applied?</strong> If so you could work to merge this feedback and improve the patch.  Just because you are not the original patch author does not mean that you should not get involved.  In fact it is great for many people to be involved in the patch development and testing process as that means it is much more likely that any edge-case bugs will be found.</p>
<p><strong>Does the patch still apply?</strong> If there is a patch on the ticket can it still be applied to the latest trunk code and fix the issue(s) described in the ticket.  Over time patches become <em>stale</em> as the code that was patched changes for other reasons.  If the patch no longer applies you could update it so that it does and check that the bug(s) are still fixed.</p>
<p>If you are still not sure after playing out all these questions in your head then the best next step is to ask someone.  In general there is usually a few of the core contributors hanging out in the development IRC channel <code>#wordpress-dev</code> on the FreeNode network.  If you ask them about a ticket or for feedback on a patch they will be able to help you.</p>
<p><em>Do you have a question about contributing to WordPress if so please <a href="http://patcheswelcome.wordpress.com/ask-a-question/">ask</a>!</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patcheswelcome.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patcheswelcome.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patcheswelcome.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patcheswelcome.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patcheswelcome.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patcheswelcome.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patcheswelcome.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patcheswelcome.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patcheswelcome.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patcheswelcome.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patcheswelcome.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patcheswelcome.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patcheswelcome.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patcheswelcome.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=34&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://patcheswelcome.wordpress.com/2010/07/28/when-does-a-ticket-really-need-a-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3b5ce04dd402124aba53142b3e47f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">westi</media:title>
		</media:content>
	</item>
		<item>
		<title>My First Patch: Peter Westwood &#8211; westi</title>
		<link>http://patcheswelcome.wordpress.com/2010/07/24/my-first-patch-peter-westwood-westi/</link>
		<comments>http://patcheswelcome.wordpress.com/2010/07/24/my-first-patch-peter-westwood-westi/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 21:49:29 +0000</pubDate>
		<dc:creator>Peter Westwood</dc:creator>
				<category><![CDATA[My first patch]]></category>
		<category><![CDATA[westi]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://patcheswelcome.wordpress.com/?p=22</guid>
		<description><![CDATA[Welcome to the first in a series of posts reflecting on the experiences around the first patch that a contributor wrote or had committed to the WordPress core. I thought I would start the ball rolling with myself and I &#8230; <a href="http://patcheswelcome.wordpress.com/2010/07/24/my-first-patch-peter-westwood-westi/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=22&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><i>Welcome to the first in a series of posts reflecting on the experiences around the first patch that a contributor wrote or had committed to the WordPress core. I thought I would start the ball rolling with myself and I hope to draw some other people in for future posts in this series.</i></p>
<p>I can just about remember what drove me to get involved and write <a href="http://core.trac.wordpress.org/attachment/ticket/1499/functions.php.diff">one of my first patches</a> for the core of WordPress just over 5 years ago.&nbsp; I had run WordPress for about a year and a half and started to get a little obsessed with the number of database queries that were required to produce the front page of the site as they were slowing it down. It seemed to me that there were an a lot more queries that should be needed to output a list of 5 posts and the meta data associated with them.</p>
<p>It turned out, when I dug into what the queries were for, that most of them were related to the different options that were added by all the plugins I had loaded my site up with.&nbsp; I found that there was a subtle performance issue in the way most plugins used <code>add_option()</code> and <code>update_option()</code>.&nbsp; Basically every time a plugin called <code>add_option()</code> <a href="http://core.trac.wordpress.org/browser/tags/1.5/wp-includes/functions.php#L393">WordPress would check to see if the option already existed</a> and only add if it didn&#8217;t.&nbsp; This seemed sensible except that for every option that was marked for &#8220;auto loading&#8221;. For these WordPress already knew they existed as it caches all the &#8220;auto load&#8221; options with a single query early on.</p>
<p>As can be seen from the <a href="http://core.trac.wordpress.org/ticket/1499">ticket</a> it took a little while before <a href="http://ryan.boren.me/">Ryan</a><span class="mceItemHidden"> had time to <span class="hiddenSuggestion">review</span> and commit the patch &#8211; It also turns out fellow lead developer </span><a href="http://markjaquith.wordpress.com/">Mark</a> also had a hand in updating the patch when it went stale.</p>
<p><span class="mceItemHidden">It really great to look back and <span class="hiddenSuggestion">reflect</span> on &#8220;my first patch&#8221;. I had a great experience at the time. It was really nice to have a friendly community which nurtured me as I developed in my knowledge of WordPress and contributing to an open-source project.</span></p>
<p><i>Please let me know if you would like to share your experiences writing your first patch for the core of WordPress.</i></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patcheswelcome.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patcheswelcome.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patcheswelcome.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patcheswelcome.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patcheswelcome.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patcheswelcome.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patcheswelcome.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patcheswelcome.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patcheswelcome.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patcheswelcome.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patcheswelcome.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patcheswelcome.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patcheswelcome.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patcheswelcome.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=22&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://patcheswelcome.wordpress.com/2010/07/24/my-first-patch-peter-westwood-westi/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3b5ce04dd402124aba53142b3e47f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">westi</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction</title>
		<link>http://patcheswelcome.wordpress.com/2010/07/23/introduction/</link>
		<comments>http://patcheswelcome.wordpress.com/2010/07/23/introduction/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 18:03:48 +0000</pubDate>
		<dc:creator>Peter Westwood</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://patcheswelcome.wordpress.com/?p=16</guid>
		<description><![CDATA[Welcome to &#8220;Patches Welcome&#8221;, I hope to make this site a friendly centralised place to curate and link content on how to contribute to the WordPress family of open source projects and also make it easy for new contributors to &#8230; <a href="http://patcheswelcome.wordpress.com/2010/07/23/introduction/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=16&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to &#8220;Patches Welcome&#8221;, I hope to make this site a friendly centralised place to curate and link content on how to contribute to the WordPress family of open source projects and also make it easy for new contributors to connect with mentors and find tutorials.</p>
<p>Over time I hope to interview as many as possible of the current and future contributors and collect stories about what experiences they have had while contributing to WordPress as well as to get people to reminisce about their first patch.</p>
<p>I also intend to answer as many questions about how to contribute as possible and have set-up and open contact form to allow people to ask their questions and I aim to post at least one new question and answer pair per week.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/patcheswelcome.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/patcheswelcome.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/patcheswelcome.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/patcheswelcome.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/patcheswelcome.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/patcheswelcome.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/patcheswelcome.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/patcheswelcome.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/patcheswelcome.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/patcheswelcome.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/patcheswelcome.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/patcheswelcome.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/patcheswelcome.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/patcheswelcome.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=patcheswelcome.wordpress.com&amp;blog=14767580&amp;post=16&amp;subd=patcheswelcome&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://patcheswelcome.wordpress.com/2010/07/23/introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b3b5ce04dd402124aba53142b3e47f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">westi</media:title>
		</media:content>
	</item>
	</channel>
</rss>
