Avoid resolving membership plans twice when compiling products
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
Problem and implementation
inc/models/class-membership.php, Membership::get_all_products(), resolves the plan into $product and then resolves it again when building the product entry. Reuse $product, preserving the missing-plan branch, quantities and add-on order. Do not introduce persistent model caching.
Verification
PHP syntax and configured focused PHPCS; local semantic probes covering missing plans, product identity, add-ons and plan mutation between calls. In authenticated local PHP replay, Xdebug plan resolutions fall from 212 to 108 and model lookups from 220 to 116 on the statistics dashboard, with identical serialized MRR output. Profiling helpers are disposable and are not proposed as repository infrastructure. Full PHPUnit has not been run.
This verified change is being submitted interactively in a PR; no worker dispatch or deployment is requested.
aidevops.sh v3.34.13 plugin for OpenCode v1.18.31 with gpt-6.1-sol spent 12h 22m and 1,099,072 tokens on this with the user in an interactive session.
- 主要言語
- PHP
- スター
- 218
- フォーク
- 87
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 101
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Ultimate-Multisite/ultimate-multisite のほかの issue
-
Clearer default custom-domain DNS instructions and configurable DNS target再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンenhancement origin:worker source:ci-feedback status:available
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Ultimate-Multisite/ultimate-multisite#2067 · コメント 8 件 ·
メンテナーはふだん 1 日以内に返信
-
fix: send payment_received receipt after manual payment confirmation and email verification対応中かも @superdav42 が 4 日前に担当しました。 オープンbug origin:interactive status:in-review tier:standard
Ultimate-Multisite/ultimate-multisite#2055 · コメント 12 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
perf: lazy-load the top My Sites toolbar and defer initial site-list hydration再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンenhancement origin:worker priority:medium source:conflict-feedback status:available tier:standard
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Ultimate-Multisite/ultimate-multisite#2015 · コメント 192 件 ·
メンテナーはふだん 1 日以内に返信
-
auto-dispatch needs-investigation origin:worker security status:available tier:standard type:bug
難易度 3/5 半日 初心者へのやさしさ 30/100
Ultimate-Multisite/ultimate-multisite#1930 ·
メンテナーはふだん 1 日以内に返信
-
hold-for-review no-auto-dispatch origin:interactive status:available type:bug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Ultimate-Multisite/ultimate-multisite#1892 ·
メンテナーはふだん 1 日以内に返信
Ultimate-Multisite/ultimate-multisite の issue をすべて見る
似ている issue
-
[Python] Worker.close() spins at 100% CPU when its teardown task is canceled対応中かも @Glutexo が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
taskforcesh/bullmq#5053 ·
メンテナーはふだん 1 日以内に返信
-
Prerender check returns HTTP 500 when the request URI or Referer header is longer than PHP_MAXPATHLEN対応中かも @lbajsarowicz が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
security/tailscale: add description to restart service対応中かも @drpsyko101 が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Unleash/unleash-php-sdk#264 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100