Commit 316da06
Docs: Correct parameter and return types for some comment functions.
This commit corrects some parameter type issues concerning arrays. More specifically:
* `separate_comments()` now correctly indicates that it returns an array of `WP_Comment` objects, keyed by their string types.
* `_close_comments_for_old_posts()` now correctly indicates that it both takes and returns an array of `WP_Post` objects.
Follow-up to [8892], [8897], [8949], [32587], [42876].
Props justlevine, johnbillion.
See #63268.
git-svn-id: https://develop.svn.wordpress.org/trunk@60330 602fd350-edb4-49c9-b593-d223f7449a821 parent ebace79 commit 316da06
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
935 | | - | |
936 | | - | |
| 935 | + | |
| 936 | + | |
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
| |||
3436 | 3436 | | |
3437 | 3437 | | |
3438 | 3438 | | |
3439 | | - | |
3440 | | - | |
3441 | | - | |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
3442 | 3442 | | |
3443 | 3443 | | |
3444 | 3444 | | |
| |||
0 commit comments