-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Description
Enhance the OneDesign Plugin to support WordPress Multisite (MU) environments with seamless integration and management of Governing and Brand sites.
Requirements
Network Activation Behavior
- When the plugin is network activated, it should automatically detect all sites in the network.
- Display a popup allowing the user to select the Governing Site from the available network sites.
Governing Site Functionality
- On the Governing Site, when a user clicks “Add Brand Site”, display a list of existing network sites that can be linked as brand sites.
- Provide an additional option to add a site outside of the network as a brand site.
Brand Site Functionality
- Allow brand sites (in MU) to be deleted from the Governing Site dashboard.
- Remove the OneDesign menu page from all MU brand sites to avoid redundancy.
Technical Implementation
- Replace REST-based site add/deletion with hook-based handling.
- Utilize WordPress MU functions to directly modify and manage site-related options values.
- Ensure proper synchronization of settings between Governing and Brand sites across the network.
Acceptance Criteria
- Plugin detects all network sites upon activation and displays a Governing Site selection popup.
- Governing Site can link or create Brand Sites (both inside and outside the network).
- Brand Sites can be safely deleted via hooks.
- OneDesign admin menu hidden on Brand Sites.
- All add/delete site operations handled through MU hooks, not REST.
- Code thoroughly tested in both single-site and MU setups.
Metadata
Metadata
Assignees
Labels
No labels