Skip to content

Instantly share code, notes, and snippets.

View jwr456's full-sized avatar

Joel Roberts jwr456

  • Red Haw, LLC
  • New York, NY
View GitHub Profile
jwr456 / wordpress-passwort-reset-unmultisite.php
Last active March 26, 2021 03:41 — forked from eteubert/wordpress-passwort-reset-unmultisite.php
Multisite: Passwort Reset on Local Blog
View wordpress-passwort-reset-unmultisite.php
* Plugin Name: Multisite: Passwort Reset on Local Blog
* Plugin URI:
* Description: By default, WordPress Multisite uses the main blog for passwort resets. This plugin enables users to stay in their blog during the whole reset process.
* Version: 1.0.0
* Author: Eric Teubert
* Author URI:
* License: MIT
View gist:1df9dab6b378f70de25b
for x in `/usr/bin/dig +short`; do echo "$x OK"; done > /etc/postfix/client_access
/usr/sbin/postmap /etc/postfix/client_access
/etc/init.d/postfix reload