Title: How to patch a plugin
Last modified: August 18, 2016

---

# How to patch a plugin

 *  [scotto15](https://wordpress.org/support/users/scotto15/)
 * (@scotto15)
 * [21 years ago](https://wordpress.org/support/topic/how-to-patch-a-plugin/)
 * There is a patch out there to patch the plugin registered only. I have the patch
   d/l. What do i do to put the patch on?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [mikegoe](https://wordpress.org/support/users/mikegoe/)
 * (@mikegoe)
 * [21 years ago](https://wordpress.org/support/topic/how-to-patch-a-plugin/#post-182601)
 * Yes…same question…on a windows box running Apache and WP 1.5. I know in in the
   unix world I’d run “patch”….
 * Michael G.
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [21 years ago](https://wordpress.org/support/topic/how-to-patch-a-plugin/#post-182603)
 * Grab Windows version of patch from here:
    [http://users.ncrvnet.nl/gmvdijk/utilities.html](http://users.ncrvnet.nl/gmvdijk/utilities.html)
 * Regards
 *  [astorm](https://wordpress.org/support/users/astorm/)
 * (@astorm)
 * [21 years ago](https://wordpress.org/support/topic/how-to-patch-a-plugin/#post-182609)
 * Get it from the gnuwin32 project. [http://gnuwin32.sourceforge.net/packages/patch.htm](http://gnuwin32.sourceforge.net/packages/patch.htm)
 *  Thread Starter [scotto15](https://wordpress.org/support/users/scotto15/)
 * (@scotto15)
 * [21 years ago](https://wordpress.org/support/topic/how-to-patch-a-plugin/#post-182630)
 * on linux, when i tried to patch it got this error
 * patching file registered_only.php
    Hunk #1 succeeded at 26 with fuzz 2. Hunk #
   2 FAILED at 57. 1 out of 2 hunks FAILED — saving rejects to file registered_only.
   php.rej
 * does that still mean that it has patched it ok
 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [21 years ago](https://wordpress.org/support/topic/how-to-patch-a-plugin/#post-182641)
 * [http://carthik.net/wpplugins/registered_only_patched.phps](http://carthik.net/wpplugins/registered_only_patched.phps)
 * is the patched file, for your convenience.
 * Please let me know if it works fine.
 * I have to dedicate some time to updating the plugin, but was sort of waiting 
   for 1.5.1. Sorry for the delay.
 *  [Trent Adams](https://wordpress.org/support/users/trent/)
 * (@trent)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/how-to-patch-a-plugin/#post-182989)
 * I can’t seem to get this to work now. There are no errors in the plugin, it just
   gives me a blank page when I am logged in and redirects me to the login page 
   when I am not logged in. It is working for non-logged in members (redirect) but
   still not working when I am logged in. Any suggestions?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘How to patch a plugin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 6 participants
 * Last reply from: [Trent Adams](https://wordpress.org/support/users/trent/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/how-to-patch-a-plugin/#post-182989)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
