Skip to content

Comments

REST API: Add Store Subscriber Email as ID in Cookie#1000

Merged
n7studios merged 8 commits intomainfrom
use-rest-api
Feb 3, 2026
Merged

REST API: Add Store Subscriber Email as ID in Cookie#1000
n7studios merged 8 commits intomainfrom
use-rest-api

Conversation

@n7studios
Copy link
Contributor

@n7studios n7studios commented Jan 26, 2026

Summary

Completes the migration from using admin-ajax.php to the REST API (#953, #954, #959) by replacing the admin-ajax.php call for store_subscriber_email_as_id_in_cookie with a new kit/v1/subscriber/store-email-as-id-in-cookie WP REST API endpoint.

Testing

  • RESTAPITest: Added API integration tests against the new REST API endpoint

Checklist

Migrates the `store_subscriber_email_as_id_in_cookie` method from admin-ajax.php to the WordPress REST API
@n7studios n7studios self-assigned this Jan 26, 2026
@github-actions
Copy link

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team January 26, 2026 11:53
@n7studios n7studios marked this pull request as ready for review January 26, 2026 11:53
Copy link

@ciccio-kit ciccio-kit left a comment

Choose a reason for hiding this comment

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

LGTM ✅

@n7studios n7studios merged commit b286630 into main Feb 3, 2026
84 of 86 checks passed
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios deleted the use-rest-api branch February 10, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants