Support Plugin deprecated and unsafe functions

Hi WPMUDEV

as we proceed we did some more checks with the plugin checker which is pretty good.

Unfortunately we get the following results. Could you please check back with your devs to get rid of those unsafe and deprecated functions Thanks.

Here is the output
Thanks Andi

----
Now scanning: Support System v. 2.1.9.2

Number of files to scan: 83

Files remain: 0

Verbose output
You can ignore all Unsafe messages if you trust the author and the source of this plugin.

OK/incsub-support/incsub-support.php
Unsafe/incsub-support/dash-notice/wpmudev-dash-notification.php view source
wp_remote_post at line 587:
$response = wp_remote_post( $url, $options );
Potential risk: Medium. Upload or download data from/to any web server. May be used to load malicious code from the external source. You can prevent that using constant WP_HTTP_BLOCK_EXTERNAL or restrict hosts with WP_ACCESSIBLE_HOSTS constant.
wp_remote_get at line 930:
$response = wp_remote_get( $url, $options );
Potential risk: Medium. Load external data from any web server. May be used to load malicious code from the external source. You can prevent that using constant WP_HTTP_BLOCK_EXTERNAL or restrict hosts with WP_ACCESSIBLE_HOSTS constant.
OK/incsub-support/admin/class-abstract-menu.php
OK/incsub-support/admin/class-admin-faqs-menu.php
OK/incsub-support/admin/class-admin-support-menu.php
OK/incsub-support/admin/class-incsub-support-admin.php
OK/incsub-support/admin/class-network-faq-categories-menu.php
OK/incsub-support/admin/class-network-faqs-menu.php
Unsafe/incsub-support/admin/class-network-settings-menu.php view source
call_user_func at line 29:
call_user_func( $method );
Potential risk: Low. Call any function given by the first parameter. May be used to hide facts of using unsafe system commands or to mislead code inspection.
call_user_func at line 186:
$settings = call_user_func( $validate_method );
Potential risk: Low. Call any function given by the first parameter. May be used to hide facts of using unsafe system commands or to mislead code inspection.
call_user_func at line 243:
$possible_values = call_user_func( array( $plugin, 'get_super_admins' ) );
Potential risk: Low. Call any function given by the first parameter. May be used to hide facts of using unsafe system commands or to mislead code inspection.
OK/incsub-support/admin/class-network-support-menu.php
OK/incsub-support/admin/class-network-ticket-categories-menu.php
OK/incsub-support/admin/class-network-welcome-menu.php
Unsafe/incsub-support/admin/class-parent-support-menu.php view source
call_user_func at line 94:
$possible_users = array_merge( call_user_func( array( $plugin, 'get_super_admins' ) ) );
Potential risk: Low. Call any function given by the first parameter. May be used to hide facts of using unsafe system commands or to mislead code inspection.
OK/incsub-support/admin/views/add-new-faq.php
OK/incsub-support/admin/views/add-new-ticket.php
OK/incsub-support/admin/views/admin-faq.php
OK/incsub-support/admin/views/edit-faq-category.php
OK/incsub-support/admin/views/edit-faq.php
OK/incsub-support/admin/views/edit-ticket-category.php
OK/incsub-support/admin/views/edit-ticket-details-metabox.php
OK/incsub-support/admin/views/edit-ticket-history-metabox.php
OK/incsub-support/admin/views/edit-ticket-history.php
OK/incsub-support/admin/views/edit-ticket-update-metabox.php
OK/incsub-support/admin/views/network-faq-categories.php
OK/incsub-support/admin/views/network-faqs.php
OK/incsub-support/admin/views/network-settings-front.php
OK/incsub-support/admin/views/network-settings-general.php
OK/incsub-support/admin/views/network-settings-tabs.php
OK/incsub-support/admin/views/network-ticket-categories.php
OK/incsub-support/admin/views/network-tickets.php
OK/incsub-support/admin/views/ticket-status-links.php
OK/incsub-support/admin/views/tickets-table-form.php
OK/incsub-support/admin/views/welcome.php
OK/incsub-support/admin/inc/ajax.php
OK/incsub-support/admin/inc/class-table-faq-categories.php
OK/incsub-support/admin/inc/class-table-faqs.php
OK/incsub-support/admin/inc/class-table-ticket-categories.php
OK/incsub-support/admin/inc/class-table-tickets-history.php
OK/incsub-support/admin/inc/class-table-tickets.php
OK/incsub-support/admin/inc/tinymce-shortcodes-i18n.php
OK/incsub-support/model/model.php
Unsafe/incsub-support/inc/mail-contents.php view source
call_user_func at line 145:
$super_admin = call_user_func( array( $plugin, 'get_main_admin_details' ) );
Potential risk: Low. Call any function given by the first parameter. May be used to hide facts of using unsafe system commands or to mislead code inspection.
Deprecated/incsub-support/inc/support-menu.php view source
screen_icon at line 101:
<?php screen_icon( 'support' ); ?>
Deprecated 3.8.0 Use get_screen_icon()
OK/incsub-support/inc/upgrades.php
OK/incsub-support/inc/integration/pro-sites.php
OK/incsub-support/inc/classes/class-faq-category.php
OK/incsub-support/inc/classes/class-faq.php
OK/incsub-support/inc/classes/class-query.php
Unsafe/incsub-support/inc/classes/class-settings.php view source
call_user_func at line 40:
$super_admins = call_user_func( array( $plugin, 'get_super_admins' ) );
Potential risk: Low. Call any function given by the first parameter. May be used to hide facts of using unsafe system commands or to mislead code inspection.
OK/incsub-support/inc/classes/class-shortcodes.php
OK/incsub-support/inc/classes/class-ticket-category.php
OK/incsub-support/inc/classes/class-ticket-reply.php
OK/incsub-support/inc/classes/class-ticket.php
OK/incsub-support/inc/classes/shortcodes/class-abstract-shortcode.php
OK/incsub-support/inc/classes/shortcodes/class-shortcode-faqs.php
OK/incsub-support/inc/classes/shortcodes/class-shortcode-submit-ticket-form.php
Unsafe/incsub-support/inc/classes/shortcodes/class-shortcode-tickets-index.php view source
call_user_func at line 30:
$possible_users = array_merge( call_user_func( array( $plugin, 'get_super_admins' ) ) );
Potential risk: Low. Call any function given by the first parameter. May be used to hide facts of using unsafe system commands or to mislead code inspection.
OK/incsub-support/inc/templates/faqs-nav.php
OK/incsub-support/inc/templates/index-faqs.php
OK/incsub-support/inc/templates/index-tickets.php
OK/incsub-support/inc/templates/single-ticket.php
OK/incsub-support/inc/templates/ticket-replies.php
OK/incsub-support/inc/templates/ticket-reply.php
OK/incsub-support/inc/templates/tickets-nav.php
Unsafe/incsub-support/inc/helpers/capabilities.php view source
call_user_func_array at line 7:
return call_user_func_array( 'incsub_support_user_can', $args );
Potential risk: Low. Call any function with an array of parameters. May be used to hide facts of using unsafe system commands or to mislead code inspection.
OK/incsub-support/inc/helpers/faq-category.php
OK/incsub-support/inc/helpers/faq.php
Unsafe/incsub-support/inc/helpers/general.php view source
call_user_func at line 82:
$super_admins = call_user_func( array( $plugin, 'get_super_admins' ) );
Potential risk: Low. Call any function given by the first parameter. May be used to hide facts of using unsafe system commands or to mislead code inspection.
OK/incsub-support/inc/helpers/settings.php
Unsafe/incsub-support/inc/helpers/template.php view source
call_user_func at line 429:
<?php call_user_func( $callback, $callback_args ); ?>
Potential risk: Low. Call any function given by the first parameter. May be used to hide facts of using unsafe system commands or to mislead code inspection.
OK/incsub-support/inc/helpers/ticket-category.php
OK/incsub-support/inc/helpers/ticket-reply.php
OK/incsub-support/inc/helpers/ticket.php
OK/incsub-support/tests/bootstrap.php
OK/incsub-support/tests/test-empty.php
OK/incsub-support/tests/test-faq-category.php
OK/incsub-support/tests/test-faq.php
OK/incsub-support/tests/test-integration.php
OK/incsub-support/tests/test-ticket-category.php
OK/incsub-support/tests/test-ticket-reply.php
OK/incsub-support/tests/test-ticket.php
OK/incsub-support/tests/multisite/ticket.php
OK/incsub-support/tests/lib/pro-sites.php