PCI: Implement WordPress.com compatibility

オープン
#2,882 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php, wordpress
領域
api, backend

調査の方向性

まず、プラグインが REST API の namespace wp-parsely/v1 を登録している場所と、フロントエンドがそれに対するリクエストを構築している場所を特定します。参照されている proof-of-concept コードが利用可能な場合は確認し、登録とリクエストの両方の経路を追跡します。WordPress.com 上で変化する namespace を使用しても、standalone WordPress を壊すことなく PCI 機能が動作すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

wp-parsely

Is your feature request related to a problem?

Our PCI functionality is currently not compatible with WordPress.com, due to the way our WP Rest API is structured.

To quote @travisw:

It appears the way certain API related code is currently implemented in the plugin, might be causing issues when running on WordPress.com. Specifically, registering the top-level namespace wp-parsely/v1 isn’t allowed like it might be on standalone WordPress installs.

We might need to think about modifying the plugin code, to allow the API namespace to be varied depending on if it’s running on WordPress.com or not. It’d need to be done both on the back-end (when registering endpoints) and on the front-end (when making API requests).

Describe the solution you'd like

@travisw has also provided some proof of concept code to us, which verifies that this solution should work. As such, we just need to see how we would implement this in the plugin, both on the back-end and front-end.

主要言語
PHP
スター
67
フォーク
38
平均マージ
1日 5時間
マージ済み PR(30日)
79

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Parsely/wp-parsely のほかの issue

Parsely/wp-parsely の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。