Make WordPress Core


Ignore:
Timestamp:
05/06/2024 04:33:27 PM (18 months ago)
Author:
joemcgill
Message:

Options: Update default autoload values used in core.

This updates the values used for the $autoload parameter in various functions to replace 'yes' and 'no' with 'on' and 'off', respectively.

Follow-up to [57920].

Props pbearne, mukesh27, joemcgill.
Fixes #61045. See #42441.

File:
1 edited

Legend:

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

    r57524 r58105  
    595595
    596596        if ( in_array( $option, $fat_options, true ) ) {
    597             $autoload = 'no';
     597            $autoload = 'off';
    598598        } else {
    599             $autoload = 'yes';
     599            $autoload = 'on';
    600600        }
    601601
Note: See TracChangeset for help on using the changeset viewer.