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

WordPress Trac noreply at wordpress.org
Sat Dec 12 21:28:17 UTC 2020


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

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 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