Changeset 61029 for trunk/src/wp-includes/option.php
- Timestamp:
- 10/21/2025 01:40:28 PM (9 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/option.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r60978 r61029 2960 2960 ) 2961 2961 ); 2962 2963 register_setting( 2964 'reading', 2965 'active_templates', 2966 array( 2967 'type' => 'object', 2968 // Do not set the default value to an empty array! For some reason 2969 // that will prevent the option from being set to an empty array. 2970 'show_in_rest' => array( 2971 'schema' => array( 2972 'type' => 'object', 2973 // Properties can be integers, strings, or false 2974 // (deactivated). 2975 'additionalProperties' => true, 2976 ), 2977 ), 2978 'label' => 'Active Templates', 2979 ) 2980 ); 2962 2981 } 2963 2982
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)