Skip to content

Conversation

@jacr1
Copy link
Contributor

@jacr1 jacr1 commented Jul 8, 2025

what

changes the ternary value to not be a boolean.

why

get_the_post_thumbnail_url( int|WP_Post|null $post = null, string|int[] $size = 'post-thumbnail' ): string|false

could return string OR false.

@jacr1 jacr1 requested a review from a team July 8, 2025 14:48
@github-actions
Copy link

github-actions bot commented Jul 8, 2025

🖌 Pre-commit success 🏆

Details
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@3.1.0.
[INFO] Initializing environment for https://github.com/two-inc/git-hooks.
[INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
prettier.................................................................Passed

Exit code: 0

Author ✍️@jacr1

@jacr1 jacr1 merged commit f6a78b0 into main Jul 8, 2025
4 checks passed
@jacr1 jacr1 deleted the jakerivett_main branch July 8, 2025 14:56
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.

3 participants