Make a patch, for filename.php:$ svn diff filename.php > filename.diff

Make a patch for all files modified in the checkout:$ svn diff > big_patch.diff

Apply a patch from someone else:$ patch -p0 < patch.diff

My main text editor is TextMate for OS X, but I’ll use nano if logged in to a remote system. Note that all these commands work for OS X and Linux (you’ll need svn installed… check out Fink for OS X which gives you apt-get and a bunch of nice Linux-y goodness).

Update: Peter Westwood has a tutorial for Windows users, which I recommend (I used to do development on Windows, and I used the tools that he recommends!)

Like this:

Related

Post navigation

42 thoughts on “My WordPress Toolbox”

I don’t work on WordPress but I do develop other projects using SVN and I use Eclipse for most of the work. With a PHPeclipse and Subclipse you can do the same thing in one package. Thought your way seems to work for you.

Interesting stuff, but I am new to WP and have some basic questions: Can you help?
1. I am using wordpress.com and want to change the title on the blog. How?
2. Can I use a theme that is not there in wordpress.com?

A very helpful, yet widely unknown feature is bash’s (and other shell’s) tab completition: For example, if you want to go to /path/to/wordpress/, you type /p and press tab. You’ll either have path autocompleted, or you are shown all files/directories starting with p (if so, type the next letter, and so on). This is one of the features which saves a big bunch of time, when you’re working in the shell.

Hi – HiYa – Got there and to Peter Westwood’s “commit” post from Trac frontpage. Here’s what I’m thinking (I copied this from my comment in Mark’s blog a minute ago [1]): a couple of 101-style articles on basics … Eclipse/PHP with Subversion … or maybe Aptana, not sure. Thing is I’ve mucked by way through various IDEs over the past ?what? 3 decades, but not this. So if I can hook up with someone who uses this sort of setup day to day, I would co-author. Maybe you can hook me up with someone you know?

Good article! We started to implement word press blogs, however we are starting to look at Thesis. Has anyone here tried Thesis? If so, can anyone tell their experience with it? It looks pretty straight forward, although the price is kind of spendy..

Great list!!!! THANKS MARK! You saved my life. I have been looing for this one: Use SVN to download the latest WP code to the current directory (which from now on, assume is /path/to/wordpress/):
$ svn co http://svn.automattic.com/wordpress/trunk/

i want to patch wordpress.org/attachment/ticket/16706/16706.2.diff files to my taxomony.php . i opened taxomony.php files and edit related codes. But it gives me error. Can we a file and pass the pach code directly via ftp?

WordPress has become its own multi-million dollar industry. It’s a fantastic platform and user input has made it the leader. You should read this article: far cry 3 review. It gives really good insiight about the best tool to use with wordpress.

No one has fixed the custom URL link bug in the WordPress gallery yet. Do you know anyone that could fix it for free? If I can help in anyway, I would love to help out as well.

I just want to cut back on plugins and the gallery says we can type in links the URL we like but the WordPress gallery doesn’t work… A ticket has been sent in and it just says someone will look some time😦

Ask a WordPress Dev

Do you have an interesting WordPress-related question? Submit your questions, and I'll periodically pick the best one and answer it here on my blog! It can be anything from usage tips to hardcore WP development questions.