Deprecated add_obect_page after update
-
I’ve get a notice after update wordpress to 4.5
Notice: add_object_page is deprecated since version 4.5! Use add_menu_page() instead. in www/wp-includes/functions.php on line 3662
The problem located in plugins/newsletter/plugin.php at line 332
add_object_page('Newsletter', 'Newsletter', ($this->options['editor'] == 1) ? 'manage_categories' : 'manage_options', 'newsletter_main_index', '', plugins_url('newsletter') . '/images/menu-icon.png');
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Deprecated add_obect_page after update’ is closed to new replies.