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

WordPress Trac noreply at wordpress.org
Sun Jun 28 21:07:51 UTC 2020


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

Comment (by SergeyBiryukov):

 In [changeset:"48206" 48206]:
 {{{
 #!CommitTicketReference repository="" revision="48206"
 Bootstrap/Load: Remove special handling for `REQUEST_TIME` and
 `REQUEST_TIME_FLOAT` server values in `wp_magic_quotes()`.

 This was intended as a temporary fix until `add_magic_quotes()` is
 modified to leave non-string values untouched, which has now been done.

 Follow-up to [47370], [48205].

 See #48605.
 }}}

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


More information about the wp-trac mailing list