Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/10/2020 07:32:04 PM (4 months ago)
Author:
xknown
Message:

PHP 7.4 Compat: remove deprecated functions.

File:
1 edited

Legend:

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

    r7110 r7113  
    5454            $array[$k] = bb_global_sanitize( $v );
    5555        } else {
    56             if ( !get_magic_quotes_gpc() ) {
     56            if ( PHP_VERSION_ID > 50400 || !get_magic_quotes_gpc() ) {
    5757                $array[$k] = addslashes( $v );
    5858            }
Note: See TracChangeset for help on using the changeset viewer.