[wp-trac] [WordPress Trac] #9394: set_magic_quotes_runtime deprecated in PHP 5.3
WordPress Trac
noreply at wordpress.org
Fri Dec 16 09:43:30 UTC 2016
#9394: set_magic_quotes_runtime deprecated in PHP 5.3
------------------------------+---------------------
Reporter: sojweb | Owner: sojweb
Type: defect (bug) | Status: closed
Priority: low | Milestone: 3.3
Component: Warnings/Notices | Version: 2.8.1
Severity: minor | Resolution: fixed
Keywords: | Focuses:
------------------------------+---------------------
Comment (by natalisilverio):
Hello guys
I was performing a compatibility test with PHP Code Sniffer using
PHPCompatibility [https://github.com/wimg/PHPCompatibility /
PHPCompatibility] for migrating to PHP 7 and I've got the errors bellow.
Once this error was fixed in
[https://core.trac.wordpress.org/changeset/18549 [18549]] I believe it is
something that I do not need to be concerned about. Anyway I wanted to
check if anyone had any issue with class-pclzip.php running on a PHP 7.
Thank you
{{{
[1mFILE: ...rowdyhouse/crowdyhouse-github/wp-admin/includes/class-
pclzip.php[0m
----------------------------------------------------------------------
[1mFOUND 2 ERRORS AFFECTING 2 LINES[0m
----------------------------------------------------------------------
5345 | [31mERROR[0m | [1mFunction set_magic_quotes_runtime() is
deprecated since
| | PHP 5.3 and removed since PHP 7.0[0m
| |
(PHPCompatibility.PHP.DeprecatedFunctions.set_magic_quotes_runtimeDeprecatedRemoved)
5376 | [31mERROR[0m | [1mFunction set_magic_quotes_runtime() is
deprecated since
| | PHP 5.3 and removed since PHP 7.0[0m
| |
(PHPCompatibility.PHP.DeprecatedFunctions.set_magic_quotes_runtimeDeprecatedRemoved)
----------------------------------------------------------------------
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9394#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list