Skip to content

PCI: Implement WordPress.com compatibility #2882

Description

@acicovic

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.

Activity

  1. added this to the Future Milestone milestone on Oct 21, 2024
  2. deleted a comment from on Oct 25, 2024
  3. changed the title [-]PCH: Implement WordPress.com compatibility[/-] [+]PCI: Implement WordPress.com compatibility[/+] on Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wp-parselyRequired label for all issues

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions