- Timestamp:
- Nov 14, 2020 6:44:06 PM (3 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r735 r738 223 223 // Force getFormData, getPost, and getGet to always run dispelMagicQuotes() with stripslashes(). 224 224 // 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). 226 226 'always_dispel_magicquotes' => false, 227 227 -
trunk/lib/Utilities.inc.php
r735 r738 1060 1060 1061 1061 if (!isset($magic_quotes_gpc)) { 1062 $magic_quotes_gpc = get_magic_quotes_gpc();1062 $magic_quotes_gpc = version_compare(PHP_VERSION, '5.4.0', '<') ? get_magic_quotes_gpc() : false; 1063 1063 } 1064 1064
Note: See TracChangeset
for help on using the changeset viewer.