[wp-trac] [WordPress Trac] #48605: add_magic_quotes() inappropriately recasts data types

WordPress Trac noreply at wordpress.org
Thu Apr 9 13:37:56 UTC 2020


#48605: add_magic_quotes() inappropriately recasts data types
-----------------------------+-----------------------------
 Reporter:  Veraxus          |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  normal           |   Milestone:  5.5
Component:  Bootstrap/Load   |     Version:  5.4
 Severity:  major            |  Resolution:
 Keywords:  has-patch early  |     Focuses:
-----------------------------+-----------------------------

Comment (by SergeyBiryukov):

 [attachment:"48605-fix-add-magic-quotes.patch"] could use some unit tests.

 On a related note, the issue of recasting data types also applies to
 `wp_slash()`, see #42195.

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


More information about the wp-trac mailing list