Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Uploading image files to WordPress via WPCOM interface

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, node.js, wordpress
Ambito
api, backend

Direzione di ricerca

Start by reading the linked WordPress media API documentation and the reproduction gist, then inspect the package's WPCOM interface for its existing upload path. Confirm the expected image-upload request and make the package's browser-based interface handle it successfully; the issue provides no named files or tests, so completion should be validated with a working image upload.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I've been working on this Node.js package to provide easy browser-based JavaScript interfaces to the common WPCOM functions for working with WordPress websites.

Most of it has been going pretty smoothly, but I've been having trouble with uploading image files.

I created this gist, to show one of my attempts, I've tried lots of approaches, based on docs I've been able to find, and working with ChatGPT and Meta.ai, both of which took some pretty wild guesses which indicates to me that it doesn't have a lot of good sources for this.

https://gist.github.com/scripting/1fc3f656748dbaa3d84aefc1322aa72c

Any help much appreciated!

Lingua principale
JavaScript
Stelle
21
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di scripting/wpIdentity

Tutte le issue di scripting/wpIdentity

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.