[wp-trac] [WordPress Trac] #42752: Rest api - can not convert array to string notice

WordPress Trac noreply at wordpress.org
Tue Dec 19 19:28:19 UTC 2017


#42752: Rest api - can not convert array to string notice
--------------------------+------------------------------
 Reporter:  steffanhalv   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  Has-commit    |     Focuses:  rest-api
--------------------------+------------------------------
Changes (by steffanhalv):

 * keywords:   => Has-commit


Comment:

 @dd32 @thepanther71

 Your fix did work for me to and I dont think casting to json is a big
 security risk. (Im not having big insights into WP core thought)

 I added a commit, as this becomes a blocker for my usage.

 See:
 https://github.com/WordPress/WordPress/pull/329

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


More information about the wp-trac mailing list