Opened 8 years ago
Closed 6 months ago
#38730 closed enhancement (maybelater)
XML-RPC: Edit post type templates
Reported by: | swissspidy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7 |
Component: | XML-RPC | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
#18375 made page templates available for all post types. #38698 reflected this in the REST API. Now, we need to do the same in the XML-RPC API.
We should be able to edit the templates for any post type.
There's also the wp.getPageTemplates
method, but I'm not sure yet how adding post type support would look like there.
Attachments (1)
Change History (9)
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
8 years ago
#3
@
8 years ago
I could own it as I've provided the patch and opened the ticket, but there's not much more that I could bring to it right now.
It would be great if @dd32 could review this, as he has looked at XML-RPC stuff in the past.
#4
@
8 years ago
I've glanced through the patch and it looks probably correct, however looking at the patch, I don't see anything that tells clients what templates it can assign to each post type, or validation that it's an actual template specified.
Testing XML-RPC is not exactly fun, and not something I do willingly.. and wouldn't be a real-world test, only that the logic seems to work - ie. I'm not the right person to test this.
I don't personally see benefit in adding features (this is an enhancement to me) to XML-RPC which we've been ignoring for quite some time, I'd be fine with this landing in 4.8 or "use the rest api" as a resolve here.
#5
@
8 years ago
- Milestone changed from 4.7 to Future Release
Thanks for your feedback! I'm fine with moving this out of the milestone then.
Who's owning this?