| 7 | | While technically true doesn't match the expected `string|false` type, it's a historical implementation detail that's working in practice. I think it's best to document this behavior rather than changing it for backward compatibility. |
| | 7 | While technically true doesn't match the expected `string|false` type, it's a historical implementation detail that's working in practice. I think it's best to document this behavior rather than change it for backward compatibility. |
| | 8 | |
| | 9 | |
| | 10 | Follow-up: |
| | 11 | |
| | 12 | After further testing, I found that we can use any non-falsy string instead of true while maintaining the admin color scheme functionality. The `wp_style_loader_src()` function only needs a truthy value to process. |
| | 13 | |
| | 14 | This opens up an opportunity to use a more descriptive string that both satisfies type requirements and documents the intent. Options could include 'placeholder', 'dynamic-color-scheme', or even just '#'. |
| | 15 | |
| | 16 | This is open for discussion and I'd appreciate any appropriate placeholder suggestion for this. |