[wp-trac] [WordPress Trac] #43787: sql error in wp_get_post_terms

WordPress Trac noreply at wordpress.org
Tue Apr 17 15:56:11 UTC 2018


#43787: sql error in wp_get_post_terms
-------------------------------------+------------------------------
 Reporter:  d1sabled                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Taxonomy                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  close reporter-feedback  |     Focuses:
-------------------------------------+------------------------------

Comment (by d1sabled):

 Hi @SergeyBiryukov ,

 Yes, I know, but I don't think it's okay to appear sql error on incorect
 param.

 Replying to [comment:1 SergeyBiryukov]:
 > Hi @d1sabled, welcome to WordPress Trac! Thanks for the report.
 >
 > `slug` is not a supported value for the `fields` argument, try
 `id=>slug` instead.

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


More information about the wp-trac mailing list