Skip to:
Content

bbPress.org

Changeset 7284


Ignore:
Timestamp:
01/03/2025 12:13:23 PM (3 months ago)
Author:
aidvu
Message:

bbpress: remove get_magic_quotes_gpc

returning false since 5.4
https://www.php.net/manual/en/function.get-magic-quotes-gpc.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9/bb-includes/functions.php

    r7118 r7284  
    77            $array[$k] = bb_global_sanitize($v);
    88        } else {
    9             if ( !get_magic_quotes_gpc() )
    10                 $array[$k] = addslashes($v);
     9            $array[$k] = addslashes($v);
    1110            if ( $trim )
    1211                $array[$k] = trim($array[$k]);
Note: See TracChangeset for help on using the changeset viewer.