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

WordPress Trac noreply at wordpress.org
Sat Dec 12 21:27:22 UTC 2020


#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 hellofromTonya):

 Hello @d1sabled,

 >I don't think it's okay to appear sql error on incorect param.

 The error exists to alert you that there's a syntax problem. Else, it
 would silently fail with potentially unexpected behavior(s).

 I'm closing this ticket as it is marked for `close` 3 years ago. However,
 if this is still an issue for you, please provide feedback.

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


More information about the wp-trac mailing list