[wp-trac] [WordPress Trac] #42195: wp_slash() is lossy

WordPress Trac noreply at wordpress.org
Wed May 20 13:56:18 UTC 2020


#42195: wp_slash() is lossy
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.5
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-unit-tests has-     |     Focuses:
  patch needs-testing                            |
-------------------------------------------------+-------------------------
Changes (by donmhico):

 * keywords:  needs-patch dev-feedback has-unit-tests => dev-feedback has-
     unit-tests has-patch needs-testing


Comment:

 In PR-288, only string values are passed to `addslashes()`. Basically non-
 string values passed to `wp_slash()` are just returned.

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


More information about the wp-trac mailing list