[ 不具合修正 ][ デフォルトサムネイル ] アイキャッチ画像がない場合、デフォルトサムネイルを指定しても、post_thumbnail_id() の返り値がnullになる不具合を修正 #1237
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
チケットへのリンク / 変更の理由(元のissueがあればリンクを貼り付ければOK)
[デフォルトアイキャッチ] 他プラグインとの組み合わせで問題となるケースがある
#1236
どういう変更をしたか?
has_post_thumbnail
フィルターのパラメータ修正:https://developer.wordpress.org/reference/hooks/has_post_thumbnail/$has_thumbnail
、$post
、$thumbnail_id
の3つが最新$thumbnail_id
はパラメータの値を参照post_thumbnail_id
フィルターを追加post_thumbnail_html
has_post_thumbnail
post_thumbnail_id
実装者はレビュワーに回す前に以下の事を確認してチェックをつけてください。
ソースコードについて
デザイン・UI
プログラムの変更の場合
テストを書かないのは普通ではありません。書けるテストは極力書くようにしてください。
書いていない場合は書かない理由を記載してください。
その他
変更内容について何を確認したか、どういう方法で確認をしたかなど
確認URL
( どこかのデモサイトかテストサーバーにデプロイ済みなどで確認できる場合はそのURL )
レビュワーの確認方法・確認する内容など
レビュワーに回す前の確認事項
レビュワー向け
確認して変更が反映されていない場合の確認事項