Recently my theme got soft rejection. Can anyone help with these 3 issue?

REQUIRED: plugins/tgm-plugin-activation/class-tgm-plugin-activation.php. Themes should use add_theme_page() for adding admin pages.
Line 624: $this->page_hook = call_user_func( ‘add_submenu_page’, $args[‘parent_slug’], $args[‘page_title’], $args['menu_t

  1. Please remove notice - http://envato.d.pr/1iH9W/18OYMXsC

  2. Global variables should be used restrictively and only if theme really must to. When used they need to be prefixed.

Please help us to resolve these issues

Thanks,

Please Help me to solve these issues i cant understand how to solve this Thanks

For #1 >>

function removeDemoModeLink() { // Be sure to rename this function to something more unique
if ( class_exists(‘ReduxFrameworkPlugin’) ) {
remove_filter( ‘plugin_row_meta’, array( ReduxFrameworkPlugin::get_instance(), ‘plugin_metalinks’), null, 2 );
}
if ( class_exists(‘ReduxFrameworkPlugin’) ) {
remove_action(‘admin_notices’, array( ReduxFrameworkPlugin::get_instance(), ‘admin_notices’ ) );
}
}
add_action(‘init’, ‘removeDemoModeLink’);

For #2 >>

https://forums.envato.com/t/softreject-prefix-issue?source_topic_id=59039
http://themereview.co/prefix-all-the-things/

Hope thats useful to you and good luck!