[wp-trac] [WordPress Trac] #38877: REST API - Unable to update page when default template used.
WordPress Trac
noreply at wordpress.org
Tue Nov 22 15:48:04 UTC 2016
#38877: REST API - Unable to update page when default template used.
--------------------------------------+------------------------
Reporter: lucasstark | Owner: rmccue
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+------------------------
Comment (by rachelbaker):
Replying to [comment:5 rmccue]:
> I agree with @joehoyle on `''` vs `'default'`, I'd rather avoid the
magic string if we can here.
This is the opposite of how we handle `type` in the Comments Controller,
where we change `''` to `comment`. If we were to change `''` -> `default`
here, we would be consistent.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38877#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list