Automattic / Automattic/jetpack
JSON API: can't set alt value when uploading media via the API.
Open
[Feature] WPCOM API
[Pri] Normal
[Status] Bug Scrub
[Status] Proposal
Bug
Customer Report [LEGACY]
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
There are issues assigning `alt` values to newly uploaded media for Jetpack, via `/media/new`
To reproduce the issue, try creating a new media item with the following parameters:
```
POST https://public-api.wordpress.com/rest/v1.1/sites/%site_id%/media/new
attrs[0][title]="My title"
attrs[0][alt]="My alt"
attrs[0][description]="My description"
```
title and description will be set, but not alt.
Reported in 2903286-t
Contributor guide
Assessment
This issue has not been assessed yet.