Commit fe33bbc218 for wordpress.org
commit fe33bbc218bdc56894fd550edaf7bd34027ee6b0
Author: whyisjake <whyisjake@git.wordpress.org>
Date: Tue Nov 10 07:50:01 2026 +0000
Plugins: List `secrets.php` as a drop-in.
`wp-content/secrets.php` has been loaded on every request since r64337, but it was missing from `_get_dropins()`. Neither the Drop-ins view of the Plugins screen nor the Drop-ins section of Site Health Info showed it.
Follow-up to r64337.
Props nofearinc, ericmann.
See #66380.
Built from https://develop.svn.wordpress.org/trunk@65374
git-svn-id: http://core.svn.wordpress.org/trunk@64513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php
index 2a68eae362..31b42c9eaa 100644
--- a/wp-admin/includes/plugin.php
+++ b/wp-admin/includes/plugin.php
@@ -484,6 +484,7 @@ function get_dropins() {
* Includes Multisite drop-ins only when is_multisite()
*
* @since 3.0.0
+ * @since 7.2.0 Added the `secrets.php` drop-in.
*
* @return array[] {
* Key is file name. The value is an array of data about the drop-in.
@@ -507,6 +508,7 @@ function _get_dropins() {
'object-cache.php' => array( __( 'External object cache.' ), true ), // Auto on load.
'php-error.php' => array( __( 'Custom PHP error message.' ), true ), // Auto on error.
'fatal-error-handler.php' => array( __( 'Custom PHP fatal error handler.' ), true ), // Auto on error.
+ 'secrets.php' => array( __( 'Custom Secrets API backend.' ), true ), // Auto on load.
);
if ( is_multisite() ) {
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 3b98c7806d..1b29f910c8 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-beta4-65373';
+$wp_version = '7.2-beta4-65374';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.