[wp-trac] [WordPress Trac] #39996: Grant clients more liberty in setting 'template' attribute

WordPress Trac noreply at wordpress.org
Wed Mar 1 13:02:11 UTC 2017


#39996: Grant clients more liberty in setting 'template' attribute
------------------------------------------+--------------------
 Reporter:  danielbachhuber               |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.7.4
Component:  REST API                      |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+--------------------

Comment (by danielbachhuber):

 > Instead, I think the change we should make here is to enable setting a
 post to the same `template` value that it currently has - this should be a
 no-op even if the current theme doesn't support that value.

 This seems like a reasonable decision to me.

 @dd32 I don't have a specific use case, other than the original presented:
 a client POSTing back the same data it received.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39996#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list