Skip to content

Add generic browser extension action dispatch#666

Merged
akirk merged 1 commit into
mainfrom
browser-extension-action-dispatch
May 12, 2026
Merged

Add generic browser extension action dispatch#666
akirk merged 1 commit into
mainfrom
browser-extension-action-dispatch

Conversation

@akirk
Copy link
Copy Markdown
Owner

@akirk akirk commented May 12, 2026

Summary:

  • add a generic Friends browser extension inline action dispatcher
  • pass browser extension key/version context to friends_browser_extension_actions
  • authenticate action requests with the existing browser API key and run handlers as that user

Verification:

  • php -l includes/class-rest.php
  • php -l tests/test-rest.php
  • composer check-cs
  • git diff --check

Note:

  • PHPUnit could not run locally because /tmp/wordpress-tests-lib/includes/functions.php is missing.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

@akirk akirk force-pushed the browser-extension-action-dispatch branch from 7add59a to 4d8a40b Compare May 12, 2026 08:51
@akirk akirk merged commit 453f842 into main May 12, 2026
26 checks passed
@akirk akirk deleted the browser-extension-action-dispatch branch May 12, 2026 09:10
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