Skip to content
Merged

beta #725

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4c5bbf0
Version: 2.186.99-dev.
Glomberg Aug 17, 2026
5c227b5
Version: 2.186.99-fix.
Glomberg Aug 17, 2026
2eeeed9
Fix. RemoteCalls. Improve flow to exclude freezing on localwp environ…
svfcode Aug 18, 2026
61f9b06
Upd. Scan. Improve flow to reduce gathering unneeded data. (#703)
svfcode Aug 20, 2026
987050a
Udp.Code.Links to research reports
alexander-b-clean Aug 21, 2026
09ea7df
Fix. Code. Composer config fixed.
Glomberg Aug 24, 2026
1b387c5
Fix. Code. Psalm notice fixed.
Glomberg Aug 24, 2026
8607739
Fix. Code. PHP CS notice fixed.
Glomberg Aug 24, 2026
adb80cf
Fix. Settings. Improve psc detect in plugins list. (#720)
svfcode Aug 25, 2026
40a807d
Merge branch 'dev' into fix
svfcode Aug 25, 2026
87ef639
Fix. Autotests fixed.
alexandergull Aug 26, 2026
18374d1
Fix. Scanner. No extension files detection fixed.
alexandergull Aug 26, 2026
0046b4f
CP. Inverted logic fixed.
alexandergull Aug 26, 2026
9243e63
CP. Loop fixed.
alexandergull Aug 26, 2026
97179d4
CP. Typo fixed.
alexandergull Aug 26, 2026
1fb1ff9
CP. Static call fixed.
alexandergull Aug 26, 2026
e7e46cf
CP. Restricted number of files checked as binary.
alexandergull Aug 26, 2026
e9cd427
CP. Strict case.
alexandergull Aug 26, 2026
b065ee4
Fix. Settings. Improve template processing.
svfcode Aug 26, 2026
01113a7
CP. Fixed filesize detection.
alexandergull Aug 26, 2026
7b3981c
Upd. Scanner. Binary analysis. Moved severity to suspicious. Descript…
alexandergull Aug 26, 2026
9aa7bea
Udp.Code.Malware scanning new description
alexander-b-clean Aug 26, 2026
3e39ba1
Fix. UploadChecker. Edits when rendering results and selecting data
AntonV1211 Aug 27, 2026
8224694
Fix. Code. Remove unused code after react implemented. (#717)
Glomberg Aug 27, 2026
3a1b2f6
Fix review copilot
AntonV1211 Aug 27, 2026
98ecfb2
Merge pull request #723 from CleanTalk/upload_check_fix_av
AntonV1211 Aug 27, 2026
772c3f2
Merge pull request #721 from CleanTalk/noext-fix.ag
alexandergull Aug 28, 2026
97c6216
Merge branch 'fix' into beta
alexandergull Aug 28, 2026
1cb5b45
Version: 2.187 and readme updated
alexandergull Aug 28, 2026
574441a
Fix. State. False to array conversion fixed.
alexandergull Aug 31, 2026
d5b9215
Merge remote-tracking branch 'origin/beta' into beta
alexandergull Aug 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
"vendor/bin/phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"vendor/bin/phpcs --standard=tests/.phpcs.xml",
"vendor/bin/psalm --no-cache --config=psalm.xml"
],
"just_phpunit": [
"vendor/bin/phpunit --configuration tests/phpunit.xml --debug"
],
"just_psalm": [
"vendor/bin/psalm --no-cache --config=psalm.xml --debug"
]
},
"config": {
Expand Down
32 changes: 0 additions & 32 deletions inc/admin-templates/field-templates/checkbox.php

This file was deleted.

11 changes: 0 additions & 11 deletions inc/admin-templates/field-templates/hidden.php

This file was deleted.

33 changes: 0 additions & 33 deletions inc/admin-templates/field-templates/number.php

This file was deleted.

51 changes: 0 additions & 51 deletions inc/admin-templates/field-templates/radio.php

This file was deleted.

44 changes: 0 additions & 44 deletions inc/admin-templates/field-templates/select.php

This file was deleted.

38 changes: 0 additions & 38 deletions inc/admin-templates/field-templates/text.php

This file was deleted.

37 changes: 0 additions & 37 deletions inc/admin-templates/field-templates/textarea.php

This file was deleted.

16 changes: 0 additions & 16 deletions inc/admin-templates/field-templates/time.php

This file was deleted.

21 changes: 12 additions & 9 deletions inc/spbc-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ function spbc_admin_init()
add_action('wp_ajax_spbc_settings__check_renew_banner', 'spbc_settings__check_renew_banner');
add_action('wp_ajax_spbc_get_key_auto', 'spbc_get_key_auto');
add_action('wp_ajax_spbc_save_key', 'spbc_save_key');
add_action('wp_ajax_spbc_update_account_email', 'spbc_settings__update_account_email');
add_action('wp_ajax_spbc_create_support_user', 'spbc_settings__spbc_create_support_user');

// Confirm the email to activate 2FA
Expand Down Expand Up @@ -228,24 +227,25 @@ function spbct_get_tab_data()
switch ($tab_name) {
case 'critical_updates':
wp_send_json(VulnerabilityAlarmView::getTabCriticalUpdatesData());
break;
// no break
case 'fswatcher':
wp_send_json(\CleantalkSP\SpbctWP\FSWatcher\View\View::getReactData($data));
break;
// no break
case 'traffic_control':
wp_send_json(FirewallView::getReactData($data));
break;
// no break
case 'settings_general':
wp_send_json(SettingsGeneralReact::getReactData());
break;
// no break
case 'security_certified':
PscCertifiedPluginsController::ajaxRenderTab();
break;
case 'spbct_settings_overview':
wp_send_json(spbc_field_options_overview_traffic_light());
break;
// no break
default:
wp_send_json_error('Unknown tab');
// no break
}
}

Expand Down Expand Up @@ -298,12 +298,15 @@ function spbc_plugin_list_show_vulnerability($plugin_file, $plugin_data, $_statu
$do_show = (
isset($spbc->settings['vulnerability_check__enable_cron'], $spbc->settings['vulnerability_check__warn_on_modules_pages']) &&
$spbc->settings['vulnerability_check__enable_cron'] == true &&
$spbc->settings['vulnerability_check__warn_on_modules_pages'] == true &&
isset($plugin_data['slug']) // Only plugins which have slug (from wordpress catalog) need to check
$spbc->settings['vulnerability_check__warn_on_modules_pages'] == true
);

if ($do_show) {
$plugin_slug = isset($plugin_data['slug']) ? $plugin_data['slug'] : sanitize_title($plugin_data['Name']);
// WP.org slug is often missing here (custom Plugin URI). Fall back to folder/textdomain.
$plugin_slug = VulnerabilityAlarm::getPluginSlug($plugin_data, $plugin_file);
if ( $plugin_slug === '' ) {
return;
}
$plugin_version = ! empty($plugin_data['Version']) ? $plugin_data['Version'] : '';
$plugin_report = VulnerabilityAlarm::checkPluginVulnerabilityStatic($plugin_slug, $plugin_version);
if ( $plugin_report instanceof \CleantalkSP\SpbctWP\VulnerabilityAlarm\Dto\PluginReport ) {
Expand Down
Loading
Loading