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

Background Jobs: Consider "Local" REQUEST mode

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
php, wordpress

Direzione di ricerca

Inizia tracciando il codice di elaborazione in background che utilizza cURL e wp_safe_remote_post(), quindi analizza in che modo WordPress reindirizza automaticamente queste richieste. Determina se le richieste di sviluppo basate sull'IP possono funzionare e quale impostazione di sviluppo o quali filtri sarebbero necessari; l'issue non definisce un'implementazione finale né una posizione per i test.

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

Descrizione

Background Jobs Feature

Ran across an issue in ZD thread 468419 for which a development server was used with a hosts file to point to the domain.

Tracked this down with @ragulka to the way requests are sent. The background processing uses cURL to fire non-blocking HTTP requests to the site, but the requests are using wp_safe_remote_post() -- as such, they need a full URL to make the request, so an IP for a development server can't be used without a hosts file on the server as well.

Rather than requiring a hosts file on the dev server as well, we can investigate whether an IP address can be used and see if we can disable WP auto-redirecting on those requests. Perhaps a "development mode" setting or set of filters to enable dev mode and the use of an IP address for requests. Not sure if possible yet, but worth a look into.

Lingua principale
PHP
Stelle
146
Fork
43
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 godaddy-wordpress/wc-plugin-framework

Tutte le issue di godaddy-wordpress/wc-plugin-framework

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.