File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/wp-plugin/ionos-essentials/ionos-essentials/inc/wpscan Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 44
55defined ('ABSPATH ' ) || exit ();
66use function ionos \stretch_extra \secondary_plugin_dir \get_all_custom_plugins ;
7+
78require_once __DIR__ . '/controller/class-wpscan.php ' ;
89require_once __DIR__ . '/controller/class-wpscanmiddleware.php ' ;
910require_once __DIR__ . '/views/summary.php ' ;
@@ -41,12 +42,12 @@ function instant_check()
4142 }
4243
4344 if (function_exists ('get_all_custom_plugins ' )) {
44- $ custom_plugins = get_all_custom_plugins ();
45+ $ custom_plugins = get_all_custom_plugins ();
4546 $ custom_installed_plugin_slugs = array_column ($ custom_plugins , 'slug ' );
4647
47- if ( in_array ($ slug , $ custom_installed_plugin_slugs )) {
48- \wp_send_json_success (" nothing_found " , 200 );
49- }
48+ if (in_array ($ slug , $ custom_installed_plugin_slugs )) {
49+ \wp_send_json_success (' nothing_found ' , 200 );
50+ }
5051 }
5152
5253 $ middleware = new WPScanMiddleware ();
You can’t perform that action at this time.
0 commit comments