• Resolved Anonymous

    Trbecker was kind enough to submit a patch to a bug I reported, but the problem is I do not know how to run the patch? I googled and tried some commands but none were successful.
    I would like very much to test this patch and close this bug if someone could give me a little help.
    Thanks
    BH
    (i am using the latest wordpress from CVS)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    It looks like you have to put that code somewhere in edit-form-advanced.php or replace some code in there with it. Right click on the patch and choose “save as” or “download file” to get the plain text file.

    $ patch -p0 < thepatchfile.diff
    and if you’re in the same dir as the target file, it’ll find it and patch it. Otherwise, you’ll have to tell it where the target file is.
    If you’re using Windows, then you’ll have to learn how to read a patch file to do it manually, or find a program that can handle it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to apply a patch?’ is closed to new replies.