[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/secrets/ -> class-wp-secrets-broken-provider.php (summary)

Secrets API: WP_Secrets_Broken_Provider class

File Size: 149 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  error()
  get()
  set()
  delete()
  retire_previous()
  list_secrets()
  get_label()
  get_protection_boundary()
  is_writable()

Functions
Functions that are not part of a class:

error()   X-Ref
The single error every operation reports.

return: WP_Error

get( string $name, string $version, bool $network = false )   X-Ref
Always an error.

return: WP_Error
param: string $name    The secret's name.
param: string $version A WP_Secret_Version constant.
param: bool   $network Whether this is a network-scope secret.

set( string $name, $value, bool $network = false, bool $needs_rotation = false, ?string $action = null )   X-Ref
Always an error.

return: WP_Error
param: string      $name           The secret's name.
param: string      $value          The plaintext value.
param: bool        $network        Whether this is a network-scope secret.
param: bool        $needs_rotation Ignored.
param: string|null $action         Ignored.

delete( string $name, bool $network = false )   X-Ref
Always an error.

return: WP_Error
param: string $name    The secret's name.
param: bool   $network Whether this is a network-scope secret.

retire_previous( string $name, bool $network = false )   X-Ref
Always an error.

return: WP_Error
param: string $name    The secret's name.
param: bool   $network Whether this is a network-scope secret.

list_secrets( string $name_prefix = '', bool $network = false )   X-Ref
Always an error.

return: WP_Error
param: string $name_prefix Restrict to names beginning with this prefix.
param: bool   $network     Whether to list network-scope secrets.

get_label()   X-Ref
Says plainly that the drop-in is the problem.

return: string

get_protection_boundary()   X-Ref
Reports the provider boundary.

Whatever was meant to protect these secrets is not WordPress, and is not
working.

return: string

is_writable()   X-Ref
Nothing is writable while the drop-in is broken.

return: bool



Generated : Wed Oct 14 08:20:33 2026 Cross-referenced by PHPXref