PHP Notices
-
Hi,
I just wanted to say that you have some PHP Notices and fix them for you:
file: includes/message-table.php
line: 49
from:
$order = ( $_REQUEST["order"] == "asc" ) ? "ASC" : "DESC";
to:
$order = ( isset($_REQUEST["order"]) && $_REQUEST["order"] == "asc" ) ? "ASC" : "DESC";
file: includes/settings-ui.php
line: 229
from:
<input type="checkbox" name="settings[mail_notification][enabled]" <?php checked( $settings->mail_notification["enabled"] ); ?> />
to:
<input type="checkbox" name="settings[mail_notification][enabled]" <?php checked( isset($settings->mail_notification["enabled"]) ? $settings->mail_notification["enabled"] : false ); ?> />
PS: you should set WP_DEBUG to TRUE when developing plugins
http://wordpress.org/plugins/organizational-message-notifier/
- The topic ‘PHP Notices’ is closed to new replies.