Make WordPress Core


Ignore:
Timestamp:
11/10/2026 07:48:23 AM (14 hours ago)
Author:
whyisjake
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin.php

    r64793 r65374  
    485485 *
    486486 * @since 3.0.0
     487 * @since 7.2.0 Added the `secrets.php` drop-in.
    487488 *
    488489 * @return array[] {
    … …  
    508509                'php-error.php'           => array( __( 'Custom PHP error message.' ), true ),       // Auto on error.
    509510                'fatal-error-handler.php' => array( __( 'Custom PHP fatal error handler.' ), true ), // Auto on error.
     511                'secrets.php'             => array( __( 'Custom Secrets API backend.' ), true ),     // Auto on load.
    510512        );
    511513
Note: See TracChangeset for help on using the changeset viewer.