Initial review thoughts
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
Direzione di ricerca
This is a set of open design questions rather than a defined change: whether to match Core's one-class-per-domain shape instead of one WP_Ability subclass per ability, whether to ship an autoloader so the newest copy of the package wins, and which namespaces (wp, core, wordpress) content write abilities should use. Read the package docs on namespaces and the migrated content write abilities first. Done means maintainers reach a decision on each point, and the outcome is recorded in the issue or in follow-up issues.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Figured it might be better to drop this here than as a comment in Slack. This is just some thoughts I had doing an initial review, feel free to disregard any of these though :)
Match WordPress Core's ability shape
This may not be the main goal here but if we want to eventually port Abilities into WordPress Core, it may be easier to do that if our structure matches Core's structure. The main difference here is Core ships one class per domain and we use one WP_Ability subclass per ability, each of which implements a bunch of abstract methods.
I think this is a cleaner approach and does match more closely what we do in the AI plugin but doesn't match what Core does. So potentially a decision point to make here on how we want to proceed.
Should we ship an autoloader?
Right now we put the loading of things on the consumer. I'm mostly okay with this but it does mean if someone is using multiple plugins that utilize this package, whichever plugin loads first wins (meaning you could end up with missing abilities or older abilities).
Wondering if we should ship a small autoloader, like Action Scheduler, that ensures the "newest" version of the package always wins if multiple copies are loaded.
Should the content write abilities use core or wp as the namespace?
The content write abilities that were migrated from the AI plugin use the core namespace, though the documentation in this package say you should use wp until a core proposal has landed. Not a big deal but a mismatch between code and docs.
And personal opinion, not sure we need wp, core and wordpress as namespaces here. Likely fine to have just wp and core, though maybe I'm missing a use case? Just don't want to overcomplicate things out of the box (I feel like some of the process docs we have here are already getting a bit complex for an initial version of things).
- Lingua principale
- PHP
- Stelle
- 4
- Fork
- 4
- Merge medio
- 2g 8h
- PR unite (30g)
- 15
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di WordPress/abilities
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WordPress/abilities#38 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Backport core abilities from WP 6.9Forse già presa @euvoor l’ha presa 3 giorni fa. Aperta
Difficoltà 3/5 Mezza giornata Idoneità per principianti 58/100
I maintainer di solito rispondono entro 1 giorno
-
Add Release instructionsForse già presa @jeffpaul l’ha presa 16 giorni fa. Aperta
WordPress/abilities#27 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Post-migration] Port open ability PRs from wordpress/ai plugin repoForse già presa @nikmclaughlin l’ha presa 18 giorni fa. Aperta
WordPress/abilities#21 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Post-migration follow-ups (repository transfer)Forse già presa @nikmclaughlin l’ha presa 16 giorni fa. Aperta
Difficoltà 4/5 Più di una settimana Idoneità per principianti 8/100
WordPress/abilities#20 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di WordPress/abilities
Issue simili
-
OCM: shares using the `embedded` protocol are rejected with "Missing sharedSecret in protocol"Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ExpressionEngine/ExpressionEngine#5493 ·
I maintainer di solito rispondono entro 5 giorni
-
"Attempt to read property 'username' on null" error after a user is deletedForse già presa @dicksonlaw583 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
omeka/plugin-SimplePages#49 ·
-
Copy button does not workApertanot confirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno