Skip to content

Bug fixes 0.33.0#1210

Merged
mauteri merged 11 commits intodevelopfrom
bug-fixes-0.33.0
Nov 9, 2025
Merged

Bug fixes 0.33.0#1210
mauteri merged 11 commits intodevelopfrom
bug-fixes-0.33.0

Conversation

@mauteri
Copy link
Copy Markdown
Contributor

@mauteri mauteri commented Nov 8, 2025

Description of the Change

Closes #

How to test the Change

Changelog Entry

Added - New feature
Changed - Existing functionality
Deprecated - Soon-to-be removed feature
Removed - Feature
Fixed - Bug fix
Security - Vulnerability

Credits

Props @username, @username2, ...

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@what-the-diff
Copy link
Copy Markdown

what-the-diff bot commented Nov 8, 2025

PR Summary

  • Enhanced Security with RSVP Token Authentication
    A new filter has been added to authenticate requests using RSVP tokens for our REST API. This allows users with a valid token to access our service without having to sign in.

  • Streamlining Authentication with a New Method
    A new method, 'authenticate_rsvp_token', has been introduced. This method checks the RSVP token in the requests. If a valid token is received, the usual code (nonce) verification is skipped. This speeds up the processing time for users with valid tokens.

  • Improved Request Routing with RSVP Endpoint Check
    A function to verify if the current request is intended for the RSVP endpoint has been implemented. This helps route user requests more efficiently, ensuring better response times.

  • Revamped JavaScript Request Logic
    The JavaScript request process has been tweaked to make it more user-friendly. Now, users are required to provide a nonce (or a unique code) only when they do not have a valid RSVP token. This makes the request process more streamlined for users with valid tokens.

  • Enhanced API Call Flexibility with Fetch Request Refactor
    The headers setup for fetch requests has been refactored. Now, the inclusion of the nonce in the header depends on whether an RSVP token is present or not. This makes our API calls more flexible and adaptable to different user scenarios.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Nov 9, 2025

Preview changes with Playground

You can preview the recent changes for PR#1210 with the following PHP versions:

PHP Version 8.3

PHP Version 7.4

Download .zip with build changes

Made with 💙 from GatherPress & a little bit of WordPress Playground. Changes will not persist between sessions.

@mauteri mauteri marked this pull request as ready for review November 9, 2025 14:04
@mauteri mauteri merged commit a708b49 into develop Nov 9, 2025
17 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.

1 participant