You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 105674f
Browse filesBrowse the repository at this point in the historyBrowse files
Fix PHPStan errors in the WordPress 7.1 and 7.2 compat shims
- Check whether a List Item has inner blocks with `count()`, since `empty()` is never true for a `WP_Block_List` object.
- Restore the array `media_type` and `mime_type` request parameters with `WP_REST_Request::set_param()`, which is what array access calls internally.
- Drop the `isset()` check on `WP_Post::$post_date`, which is always set.
- Document that `gutenberg_exclude_notes_from_comment_count_7_2()` always returns an int.
Remove the 7 resolved entries from the PHPStan baseline.
See #86088.
0 commit comments