"wp-editor" script should not be enqueued together with the new widgets editor

Aperta
#1,200 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

@nelsonamaya82 ci sta già lavorando.

Dal 13/10/2024.

  • #1201 di @nelsonamaya82 — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
php, wordpress
Ambito
backend

Direzione di ricerca

Start by reproducing the notice on Appearance → Widgets and search the plugin for calls that enqueue wp-editor or the new widgets editor scripts. Identify which enqueue path causes both scripts to load together; done means the notice no longer appears on the Widgets page while the relevant editor still works.

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

Descrizione

Describe the bug
When I go to the Widgets page (Appearance -> Widgets) I see this Notice:
Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in /app/wp-includes/functions.php on line 6085

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Appearance -> Widgets'.
  2. See error.
Lingua principale
PHP
Stelle
127
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 PressForward/pressforward

Tutte le issue di PressForward/pressforward

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.