[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
 {{{
 FILE: ...rowdyhouse/crowdyhouse-github/wp-admin/includes/class-
 pclzip.php
 ----------------------------------------------------------------------
 FOUND 2 ERRORS AFFECTING 2 LINES
 ----------------------------------------------------------------------
  5345 | ERROR | Function set_magic_quotes_runtime() is
 deprecated since
       |       | PHP 5.3 and removed since PHP 7.0
       |       |
 (PHPCompatibility.PHP.DeprecatedFunctions.set_magic_quotes_runtimeDeprecatedRemoved)
  5376 | ERROR | Function set_magic_quotes_runtime() is
 deprecated since
       |       | PHP 5.3 and removed since PHP 7.0
       |       |
 (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