[wp-trac] [WordPress Trac] #34482: wp-db.php incorrect usage of strip_invalid_text() in process_fields()

WordPress Trac noreply at wordpress.org
Thu Oct 29 13:58:18 UTC 2015


#34482: wp-db.php incorrect usage of strip_invalid_text() in process_fields()
-------------------------------+----------------------
 Reporter:  fhwebcs            |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Database           |     Version:  4.2
 Severity:  normal             |  Resolution:  invalid
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+----------------------
Changes (by fhwebcs):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 You are right! I'v got lost because of missing error messages (see
 https://core.trac.wordpress.org/ticket/32167 for related debugging
 improvement). In my case, the string got truncated during
 `strip_invalid_text()` and -as documented- the result value becomes false.

 So, my issue can be closed. Thank you.

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


More information about the wp-trac mailing list