Skip to content

Conversation

@pbiron
Copy link
Contributor

@pbiron pbiron commented Sep 22, 2024

Fixes: #2

Short introduction

Original ticket: #2

Description of what the PR accomplishes

By changing to type hints from string, the pre_option_stylesheet filter is allowed to return false. As is, get_option() returns early with an empty string.

Steps to test / reproduce

Screenshots

Checklist

@Clorith Clorith merged commit 9f1b06b into WordPress:trunk Sep 27, 2024
@pbiron pbiron deleted the health_check_troubleshoot_theme_stylesheet branch September 27, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parameter and return type hints of MustUse::health_check_troubleshoot_theme_stylesheet() are incorrect

2 participants