Repository navigation
Commit 71183db
committed
Tests: Cover post MIME type retrieval.
Verify that `get_post_mime_type()` returns the stored attachment MIME type and returns `false` for a nonexistent post. Reuse existing `get_post()` coverage for input resolution.
Developed in: #15145
Props shailu25.
See #65819.
git-svn-id: https://develop.svn.wordpress.org/trunk@65098 602fd350-edb4-49c9-b593-d223f7449a821 parent 4f0b127 commit 71183db
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments