Skip to content

ADR 0017: Abstract classes for the extension points - #18

Merged
ericmann merged 1 commit into
mainfrom
abstract-classes-adr
Nov 9, 2026
Merged

ericmann merged 1 commit into
mainfrom
abstract-classes-adr

Conversation

@ericmann

@ericmann ericmann commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Docs only. Records the decision to make WP_Secrets_Provider, WP_Secrets_Store and WP_Secrets_Keyring abstract classes instead of interfaces, so a later release can add a method with a default implementation without breaking every drop-in.

src/, examples/ and the spec pages change when core commits it, as with ADR 0016.

WP_Secrets_Provider, WP_Secrets_Store and WP_Secrets_Keyring become abstract
classes, so a later release can add a method with a default implementation
without breaking drop-ins. Proposed in core as WordPress/wordpress-develop#15744,
after #66187 comment:45. src/ and the examples change when core commits it.
@ericmann
ericmann merged commit 2945fa6 into main Nov 9, 2026
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