[wp-trac] [WordPress Trac] #38811: REST API: ambiguous strings

WordPress Trac noreply at wordpress.org
Wed Nov 23 02:38:13 UTC 2016


#38811: REST API: ambiguous strings
------------------------------+-----------------------
 Reporter:  Presskopp         |       Owner:  joehoyle
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.7
Component:  REST API          |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+-----------------------

Comment (by joehoyle):

 Ugh sorry I put the wrong file in my comment, I meant `class-wp-rest-
 posts-controller.php`, however - given we call `types` "Post Types" then I
 guess it's ok we refer to "pages" as a `post` in the error messages; at
 least maybe it's better than "resource". I'll commit this, and maybe we
 can look at using post type labels in the future in the posts controller.

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


More information about the wp-trac mailing list