cms-tree-page-view icon indicating copy to clipboard operation
cms-tree-page-view copied to clipboard

Update option storage

Open jchristopher opened this issue 4 years ago • 1 comments
trafficstars

Original thread: https://wordpress.org/support/topic/deprecated-options-php-error/

From: [SITE]/wp-admin/options-general.php?page=cms-tpv-options when I save the settings I got the following error 27 times :

Deprecated: options.php was called with an argument that is deprecated since version 2.7.0! The post-type-menu-post setting is unregistered. Unregistered settings are deprecated. See https://developer.wordpress.org/plugins/settings/settings-api/ in [PATH]\wp-includes\functions.php on line 4997
Call Stack
# Time Memory Function Location
1 0.0007 478832 {main}( ) …\options.php:0
2 0.6554 50194584 _deprecated_argument( ) …\options.php:274
3 0.6554 50195096 trigger_error ( ) …\functions.php:4997

jchristopher avatar Dec 07 '20 16:12 jchristopher

Settings need to be updated to use the Settings API

jchristopher avatar Dec 07 '20 17:12 jchristopher