[PATCH] Use of undefined constant wp2pgpmail_pgpkey
-
With WP_DEBUG turned on I get the following error on the settings page:
Notice: Use of undefined constant wp2pgpmail_pgpkey – assumed ‘wp2pgpmail_pgpkey’ in /path/to/wp-content/plugins/wp2pgpmail/wp2pgpmail.php on line 60
Change
if ( get_option(wp2pgpmail_pgpkey)==false || get_option(wp2pgpmail_pgpkey_vers)=='' ) {
to
if ( get_option('wp2pgpmail_pgpkey')==false || get_option('wp2pgpmail_pgpkey_vers')=='' ) {
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[PATCH] Use of undefined constant wp2pgpmail_pgpkey’ is closed to new replies.