[wp-trac] [WordPress Trac] #53376: Use of removed function set_magic_quotes_runtime on line 72 in file wp-content/plugins/rss-importer/rss-importer.php

WordPress Trac noreply at wordpress.org
Thu Jun 10 04:15:07 UTC 2021


#53376: Use of removed function set_magic_quotes_runtime on line 72 in file wp-
content/plugins/rss-importer/rss-importer.php
--------------------------+------------------------------
 Reporter:  0xcrypto      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Import        |     Version:  5.7.2
 Severity:  blocker       |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration
--------------------------+------------------------------
Changes (by 0xcrypto):

 * keywords:   => needs-patch


Comment:

 Replacing set_magic_quotes_runtime(0); with the following fixes the issue.
 {{{#!php
 if (function_exists('set_magic_quotes_runtime')) {
     set_magic_quotes_runtime(0);
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53376#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list