[Plugin: Super Contact Form] Wrong filename in options form
-
Super Contact Form 2.0.3 inserts its options page with the wrong path name on line 407:
add_options_page( __( 'Easy Contact', 'easy_contact' ), __( 'Contact', 'easy_contact' ), 'manage_options', 'easy-contact/econtact-menu.php', '' );
This should instead be:
add_options_page( __( 'Easy Contact', 'easy_contact' ), __( 'Contact', 'easy_contact' ), 'manage_options', 'super-contact-form/econtact-menu.php', '' );
Or, to allow for renaming of the plugin directory and files:
add_options_page( __( 'Easy Contact', 'easy_contact' ), __( 'Contact', 'easy_contact' ), 'manage_options', str_replace('.php', '-menu.php', plugin_basename(__FILE__)), '' );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Super Contact Form] Wrong filename in options form’ is closed to new replies.