You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice: options.php was called with an argument that is deprecated since version 2.7.0! The bugsnag_api_key setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_API
Notice: options.php was called with an argument that is deprecated since version 2.7.0! The bugsnag_notify_severities setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_API
Notice: options.php was called with an argument that is deprecated since version 2.7.0! The bugsnag_filterfields setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_API
Steps to reproduce
Configure PHP to show notices
Go to /wp-admin/options-general.php?page=bugsnag
Enter API key
Submit the form
Version
1.3.1
This actually seems to be due to the settings form posting to action="options.php" (as explained in https://wordpress.stackexchange.com/a/289620/144404). If I remove action="options.php" from views/settings.php the form posts without notices.
The text was updated successfully, but these errors were encountered:
Expected behavior
Save settings without seeing PHP notices
Observed behavior
Notice: options.php was called with an argument that is deprecated since version 2.7.0! The
bugsnag_api_key
setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_APINotice: options.php was called with an argument that is deprecated since version 2.7.0! The
bugsnag_notify_severities
setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_APINotice: options.php was called with an argument that is deprecated since version 2.7.0! The
bugsnag_filterfields
setting is unregistered. Unregistered settings are deprecated. See https://codex.wordpress.org/Settings_APISteps to reproduce
Version
1.3.1
This actually seems to be due to the settings form posting to
action="options.php"
(as explained in https://wordpress.stackexchange.com/a/289620/144404). If I removeaction="options.php"
fromviews/settings.php
the form posts without notices.The text was updated successfully, but these errors were encountered: