Skip to content

Conversation

@chrislarrycarl
Copy link
Member

  • Change wp_remote_get() to wp_safe_remote_get()
  • Change wp_remote_post() to wp_safe_remote_post()
  • Update node dependencies
  • Update min version reference and test

Description

This update replaces use of wp_remote_get and wp_remote_post with their "safe" variants and fixes the minimum version test.

Type of change

Please describe the type of change.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • TestUtmDotCodesActivation
  • TestUtmDotCodesAjax
  • TestUtmDotCodesIntegration
  • TestUtmDotCodesShortenBitly
  • TestUtmDotCodesShortenRebrandly
  • TestUtmDotCodesUnit

Test Configuration:

  • WordPress version: 6.8.1
  • PHP version: 8.3.15
  • MySQL version: 10.11.10-MariaDB

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I had fun writing this code

- Change wp_remote_get() to wp_safe_remote_get()
- Change wp_remote_post() to wp_safe_remote_post()
- Update node dependencies
- Update min version reference and test
@chrislarrycarl chrislarrycarl merged commit b368e40 into main Jun 17, 2025
58 of 81 checks passed
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.

2 participants