Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I found a patch I want here:
http://core.trac.wordpress.org/ticket/17763

I can see the diff, but what do I do now? How can I get that code into my Wordpress? Do I have to copy it manually? Is there anywhere to download it from?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You can download the diff file from the bottom of the diff page.

The program to apply a diff is called "patch". It's widely available for various platforms.

Example usages: http://en.wikipedia.org/wiki/Patch_(Unix)#Usage_examples

share|improve this answer
2  
Thank you very much- that worked. I'm only going to add a detailed description of the steps I took: 1) I downloaded the diff file from the bottom of the page 2) I uploaded the file to the server, to the folder in which the file that diff will be applied to resides in (in my case the file that the diff applied to was comment-template.php, which resides in wp-includes, so I uploaded 17763.diff to `mysite/wp-includes'. 3)I connected to the server via SSH, and changed directory to that directory 4)I wrote the command: $ patch < mods.diff 5) and that was that! –  Lea Cohen Jul 21 '11 at 9:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.