Skip to content

Proxy#814

Open
alexander-b-clean wants to merge 3 commits into
devfrom
proxy.ab
Open

Proxy#814
alexander-b-clean wants to merge 3 commits into
devfrom
proxy.ab

Conversation

@alexander-b-clean

Copy link
Copy Markdown
Contributor

@alexander-b-clean alexander-b-clean changed the base branch from master to dev June 17, 2026 17:23
@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 37.50000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.46%. Comparing base (87317d1) to head (9d85be8).
⚠️ Report is 9 commits behind head on dev.

Files with missing lines Patch % Lines
lib/Cleantalk/ApbctWP/API.php 37.50% 5 Missing ⚠️

❌ Your patch check has failed because the patch coverage (37.50%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev     #814      +/-   ##
============================================
+ Coverage     26.41%   26.46%   +0.05%     
- Complexity     5655     5674      +19     
============================================
  Files           268      269       +1     
  Lines         24220    24247      +27     
============================================
+ Hits           6398     6418      +20     
- Misses        17822    17829       +7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

if ( defined('WP_PROXY_HOST') && WP_PROXY_HOST !== '' ) {
$options['proxy'] = WP_PROXY_HOST . ':' . WP_PROXY_PORT; // WP HTTP API branch
$options[CURLOPT_PROXY] = WP_PROXY_HOST; // cURL branch
$options[CURLOPT_PROXYPORT] = WP_PROXY_PORT;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check WP_PROXY_PORT existence too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done
if ( defined('WP_PROXY_HOST') && WP_PROXY_HOST !== '' && defined('WP_PROXY_PORT') && WP_PROXY_PORT !== '' ) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants