Changeset 738 for trunk/lib/App.inc.php


Ignore:
Timestamp:
Nov 14, 2020 6:44:06 PM (4 years ago)
Author:
anonymous
Message:

Avoid use of get_magic_quotes_gpc() after PHP 5.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/App.inc.php

    r735 r738  
    223223        // Force getFormData, getPost, and getGet to always run dispelMagicQuotes() with stripslashes().
    224224        // This should be set to 'true' when using the codebase with Wordpress because
    225         // WP forcefully adds slashes to all input despite the setting of magic_quotes_gpc.
     225        // WP forcefully adds slashes to all input despite the setting of magic_quotes_gpc (which was removed from PHP in v5.4).
    226226        'always_dispel_magicquotes' => false,
    227227
Note: See TracChangeset for help on using the changeset viewer.