[wp-trac] [WordPress Trac] #54293: Expand functionality of themes REST API
WordPress Trac
noreply at wordpress.org
Wed Oct 20 09:30:08 UTC 2021
#54293: Expand functionality of themes REST API
--------------------------+------------------------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Keywords: needs-patch needs-unit-tests
Focuses: rest-api |
--------------------------+------------------------------------------
Current the REST API for themes is extremely limited. It only allows for
listing themes and getting the current theme. However, there are lots
theme related functions that are not possible to access via this api. This
includes ( but it not limited to )
- Installing new themes
- Activating theme
- Deleting theme
Any themes api should allow the patterns / structure of the plugins REST
API, in it's params and responses.
It is also worth noting, that have a multisite element, as themes can be
network activated / deactivated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54293>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list