Commit cec8718
committed
Media: Update labels for media caption inputs.
All media types used the label `Caption` for the data stored in `$post->post_excerpt`. This label is only meaningful for image media types, and misrepresents the content for video and audio, where `caption` has a different specific meaning.
Change the labels to use `Image Caption` for the image case, and `Short Description` for all other cases, so that the label represents the explicit usage where core uses the data, and represents the internal storage model for cases where core does not use the data.
Props postphotos, bridgetwillard, kirasong, joemcgill, afercia, pento, karmatosed, desrosj, jamesbregenzer, abcd95, aperto, joedolson.
Fixes #43178.
git-svn-id: https://develop.svn.wordpress.org/trunk@62683 602fd350-edb4-49c9-b593-d223f7449a821 parent 0527680 commit cec8718
2 files changed
Lines changed: 19 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3274 | 3274 | | |
3275 | 3275 | | |
3276 | 3276 | | |
3277 | | - | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
3278 | 3286 | | |
3279 | 3287 | | |
3280 | 3288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
548 | 552 | | |
549 | 553 | | |
550 | 554 | | |
| |||
796 | 800 | | |
797 | 801 | | |
798 | 802 | | |
799 | | - | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
800 | 808 | | |
801 | 809 | | |
802 | 810 | | |
| |||
0 commit comments