[wp-trac] [WordPress Trac] #29411: Add multi-network helper functionality
WordPress Trac
noreply at wordpress.org
Fri Jul 14 19:55:55 UTC 2017
- Previous message: [wp-trac] [WordPress Trac] Batch modify: #29213, #31020, #33240, #38652, #39083, #39084, #39156, #39677, #41332
- Next message: [wp-trac] [WordPress Trac] Batch modify: #25344, #29411, #37923, #38025, #39544, #40229, #40263, #40364, #40365, #40647, #40948, #41333
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
#29411: Add multi-network helper functionality
--------------------------------+-----------------------------
Reporter: rmccue | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: | Focuses: multisite
--------------------------------+-----------------------------
Changes (by flixos90):
* milestone: Awaiting Review => Future Release
Comment:
As decided recently during multisite office-hours, we wanna have a CRUD
API dedicated to networks as part of core in the long run.
While multinetwork will likely always remain plugin territory in the way
it is implemented in detail, core should provide a basic API for
interacting with the database table, to have a solid common ground that is
thoroughly unit-tested.
We already have:
* `WP_Network` and `WP_Network_Query`
* `get_network()` and `get_networks()` (this is the 'R' of the CRUD API)
We need to implement:
* `wp_insert_network()`
* `wp_update_network()`
* `wp_delete_network()`
These three functions should work similarly to their sites counterparts
which we're working on in #40364. Let's not start patching this ticket
until the related sites functions are set in stone.
@rmccue This decision is obviously only part of what you request above.
What are your current thoughts? Should we create a separate ticket for the
three functions or work in here?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29411#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
- Previous message: [wp-trac] [WordPress Trac] Batch modify: #29213, #31020, #33240, #38652, #39083, #39084, #39156, #39677, #41332
- Next message: [wp-trac] [WordPress Trac] Batch modify: #25344, #29411, #37923, #38025, #39544, #40229, #40263, #40364, #40365, #40647, #40948, #41333
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the wp-trac
mailing list