Changeset 65378
- Timestamp:
- 11/10/2026 08:18:14 AM (15 hours ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/load.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r65272 r65378 832 832 * classes implement already exists and every plugin sees the drop-in's provider. 833 833 * 834 * The drop-in sets its overrides in the `$wp_secrets_provider`, `$wp_secrets_store` 835 * and `$wp_secrets_keyring` globals. They are declared global before the require, so 836 * a plain assignment such as `$wp_secrets_keyring = new My_Keyring();` works. 837 * 834 838 * Sets `$GLOBALS['wp_secrets_dropin_loaded']` as soon as the file is found, whether 835 839 * or not it then loads cleanly: wp_using_secrets_dropin() reports presence, not … … 873 877 874 878 $GLOBALS['wp_secrets_dropin_loaded'] = true; 879 880 /* 881 * The drop-in is required inside this function. Declaring the overrides global 882 * lets it set them as plain variables, as db.php does with $wpdb. 883 */ 884 global $wp_secrets_provider, $wp_secrets_store, $wp_secrets_keyring; 875 885 876 886 try {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)