Commit 15cbfd5
committed
Media: Fix inaccurate docs for
Correct the documentation for the `$type` parameter to accept file extensions as well as attachment type groups. Also fix the return description to reflect the change.
Props nirav7707, joedolson.
Fixes #59698.
git-svn-id: https://develop.svn.wordpress.org/trunk@57273 602fd350-edb4-49c9-b593-d223f7449a82wp_attachment_is().1 parent efc2d9e commit 15cbfd5
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6665 | 6665 | | |
6666 | 6666 | | |
6667 | 6667 | | |
6668 | | - | |
| 6668 | + | |
6669 | 6669 | | |
6670 | | - | |
| 6670 | + | |
6671 | 6671 | | |
6672 | 6672 | | |
6673 | 6673 | | |
| |||
0 commit comments