Initial review thoughts
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- PHP
- スター
- 4
- フォーク
- 4
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
WordPress/abilities のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
WordPress/abilities#38 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Backport core abilities from WP 6.9対応中かも @euvoor が 3 日前に担当しました。 オープン
難易度 3/5 半日 初心者へのやさしさ 58/100
メンテナーはふだん 1 日以内に返信
-
Add Release instructions対応中かも @jeffpaul が 16 日前に担当しました。 オープン
WordPress/abilities#27 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Post-migration] Port open ability PRs from wordpress/ai plugin repo対応中かも @nikmclaughlin が 18 日前に担当しました。 オープン
WordPress/abilities#21 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Post-migration follow-ups (repository transfer)対応中かも @nikmclaughlin が 16 日前に担当しました。 オープン
難易度 4/5 1週間以上 初心者へのやさしさ 8/100
WordPress/abilities#20 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
WordPress/abilities の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ExpressionEngine/ExpressionEngine#5493 ·
メンテナーはふだん 5 日以内に返信
-
"Attempt to read property 'username' on null" error after a user is deleted対応中かも @dicksonlaw583 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
omeka/plugin-SimplePages#49 ·
-
not confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信