[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:09:49 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         |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 In PHP 7+, the function **set_magic_quotes_runtime** has been removed. But
 the file **wp-content/plugins/rss-importer/rss-importer.php:72** is still
 using it which blocks importing posts by throwing undefined function error
 while using the RSS import feature in [https://wordpress.org/plugins/rss-
 importer]

 WordPress Version: 5.7.2
 PHP Version: 8.0.7


 {{{
 [Thu Jun 10 09:13:21 2021] [::1]:36530 [200]: POST /wp-
 admin/admin.php?import=rss&step=1&_wpnonce=4b2d8cb818 - Uncaught Error:
 Call to undefined function set_magic_quotes_runtime() in
 /home/vi/Documents/wordpress/wp-content/plugins/rss-importer/rss-
 importer.php:72
 Stack trace:
 #0 /home/vi/Documents/wordpress/wp-content/plugins/rss-importer/rss-
 importer.php(178): RSS_Import->get_posts()
 #1 /home/vi/Documents/wordpress/wp-content/plugins/rss-importer/rss-
 importer.php(204): RSS_Import->import()
 #2 /home/vi/Documents/wordpress/wp-admin/admin.php(353):
 RSS_Import->dispatch()
 #3 {main}
   thrown in /home/vi/Documents/wordpress/wp-content/plugins/rss-importer
 /rss-importer.php on line 72
 }}}

 I couldn't find the plugin in
 [https://plugins.trac.wordpress.org/newticket] and the plugin is part of
 Import > Tool in WordPress so reporting here.

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


More information about the wp-trac mailing list