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

WordPress Trac noreply at wordpress.org
Tue Apr 17 11:12:59 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:
-------------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close reporter-feedback
 * component:  General => Taxonomy


Comment:

 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:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list