Thanks for you wander full plugin .
After Update to WP 4.3 I have few issue and manage to fixed Most of them
1=======
parent::WP_Widget(‘advman’, __(‘Advertisement’, ‘advman’), $widget_ops);
to
parent::__construct(‘advman’, __(‘Advertisement’, ‘advman’), $widget_ops);
# WP_Widget to __construct
2=====
add_object_page(__(‘Ads’, ‘advman’), __(‘Ads’, ‘advman’), 8, ‘advman-list’, array(‘Advman_List’,’process’), ADVMAN_URL . ‘/images/advman-menu-icon.svg’);
$list_hook = add_submenu_page(‘advman-list’, __(‘All Ads’, ‘advman’), __(‘All Ads’, ‘advman’), 8, ‘advman-list’, array(‘Advman_List’,’process’));
$analytics_hook = add_submenu_page(‘advman-list’, __(‘Analytics’, ‘advman’), __(‘Analytics’, ‘advman’), 8, ‘advman-analytics’, array(‘Advman_Analytics’,’process’));
add_submenu_page(‘advman-list’, __(‘Create New Ad’, ‘advman’), __(‘Create New’, ‘advman’), 8, ‘advman-ad-new’, array(‘Advman_Admin’,’create’));
add_submenu_page(null, __(‘Edit Ad’, ‘advman’), __(‘Edit’, ‘advman’), 8, ‘advman-ad’, array(‘Advman_Admin’,’edit_ad’));
add_submenu_page(null, __(‘Preview Ad’, ‘advman’), __(‘Preview’, ‘advman’), 8, ‘advman-ad-preview’, array(‘Advman_Admin’,’preview_ad’));
add_submenu_page(null, __(‘Edit Network’, ‘advman’), __(‘Edit’, ‘advman’), 8, ‘advman-network’, array(‘Advman_Admin’,’edit_network’));
add_options_page(__(‘Ads’, ‘advman’), __(‘Ads’, ‘advman’), 8, ‘advman-settings’, array(‘Advman_Admin’,’settings’));
to
add_object_page(__(‘Ads’, ‘advman’), __(‘Ads’, ‘advman’), ‘activate_plugins’, ‘advman-list’, array(‘Advman_List’,’process’), ADVMAN_URL . ‘/images/advman-menu-icon.svg’);
$list_hook = add_submenu_page(‘advman-list’, __(‘All Ads’, ‘advman’), __(‘All Ads’, ‘advman’), ‘activate_plugins’, ‘advman-list’, array(‘Advman_List’,’process’));
$analytics_hook = add_submenu_page(‘advman-list’, __(‘Analytics’, ‘advman’), __(‘Analytics’, ‘advman’), ‘activate_plugins’, ‘advman-analytics’, array(‘Advman_Analytics’,’process’));
add_submenu_page(‘advman-list’, __(‘Create New Ad’, ‘advman’), __(‘Create New’, ‘advman’), ‘activate_plugins’, ‘advman-ad-new’, array(‘Advman_Admin’,’create’));
add_submenu_page(null, __(‘Edit Ad’, ‘advman’), __(‘Edit’, ‘advman’), ‘activate_plugins’, ‘advman-ad’, array(‘Advman_Admin’,’edit_ad’));
add_submenu_page(null, __(‘Preview Ad’, ‘advman’), __(‘Preview’, ‘advman’), ‘activate_plugins’, ‘advman-ad-preview’, array(‘Advman_Admin’,’preview_ad’));
add_submenu_page(null, __(‘Edit Network’, ‘advman’), __(‘Edit’, ‘advman’), ‘activate_plugins’, ‘advman-network’, array(‘Advman_Admin’,’edit_network’));
add_options_page(__(‘Ads’, ‘advman’), __(‘Ads’, ‘advman’), ‘activate_plugins’, ‘advman-settings’, array(‘Advman_Admin’,’settings’));
# replace 8 to ‘activate_plugins’
but still i am getting Failed to load: https://fih.dev/wp-content/plugins/advertising-manager/scripts/advman-editor.js”
I have check all the path are correct . can you please help how to fixed the issue