| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Secrets API: WP_Secrets_Broken_Provider class
| File Size: | 156 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| 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. 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. return: WP_Error |
| set(string $name,$value,bool $network = false,bool $needs_rotation = false,?string $action = null) X-Ref |
| Always an 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. return: WP_Error |
| delete( string $name, bool $network = false ) X-Ref |
| Always an error. param: string $name The secret's name. param: bool $network Whether this is a network-scope secret. return: WP_Error |
| retire_previous( string $name, bool $network = false ) X-Ref |
| Always an error. param: string $name The secret's name. param: bool $network Whether this is a network-scope secret. return: WP_Error |
| list_secrets( string $name_prefix = '', bool $network = false ) X-Ref |
| Always an error. param: string $name_prefix Restrict to names beginning with this prefix. param: bool $network Whether to list network-scope secrets. return: WP_Error |
| 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 : Mon Nov 16 08:20:01 2026 | Cross-referenced by PHPXref |