Title: Deprecated code in WordPress Importer
Last modified: September 1, 2016

---

# Deprecated code in WordPress Importer

 *  Resolved [Giancarlo Silva](https://wordpress.org/support/users/giancarlozer0/)
 * (@giancarlozer0)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/)
 * I wish to report this issue in the WordPress Importer plugin. I just installed
   it in my WordPress blog with debug mode activated and this error message appeared:
 * > Deprecated: Methods with the same name as their class will not be constructors
   > in a future version of PHP; WP_Import has a deprecated constructor in D:\DevDevDev\
   > WebServer\htdocs\blog\wp-content\plugins\wordpress-importer\wordpress-importer.
   > php on line 38
 * [Here](https://www.dropbox.com/s/qjuhn5g8njayggb/wp-importer-error.png?dl=0) 
   is a screenshot of this error.
 * Thanks.
 * PS.: Sorry about my poor English.
 * [https://wordpress.org/plugins/wordpress-importer/](https://wordpress.org/plugins/wordpress-importer/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Joseph Dickson](https://wordpress.org/support/users/josephdickson/)
 * (@josephdickson)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-7664954)
 * I receive the same errors along with others when importing content in Desktop
   Server. I’m not sure if the plugin is in active development. It hasn’t been updated
   in over a year.
 * But… it still technically works and I use it all the time.
 *  [Joseph Dickson](https://wordpress.org/support/users/josephdickson/)
 * (@josephdickson)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-7664959)
 * And just like that they released a new version 🙂
 *  Thread Starter [Giancarlo Silva](https://wordpress.org/support/users/giancarlozer0/)
 * (@giancarlozer0)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-7664975)
 * Great! I just received the update too!
 * Thank you, developers! =)
 *  [davemac](https://wordpress.org/support/users/davemac/)
 * (@davemac)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-7664985)
 * With 0.6.3 I am also getting another deprecation notice:
 * `PHP Notice: wp_get_http is <strong>deprecated</strong> since version 4.4.0! 
   Use WP_Http instead`
 * It’s being used in wordpress-importer.php line 991:
 * `$headers = wp_get_http( $url, $upload['file'] );`
 *  [nicholasgault](https://wordpress.org/support/users/nicholasgault/)
 * (@nicholasgault)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-8345295)
 * I think I get the same issue as davemac and the media import fails:
 * >  Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead.
   > in /home/nicho182/public_html/wp-includes/functions.php on line 3707
 *  [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-8563225)
 * how is this solved?
 * I see the same issue right now on a fresh install of wp 4.7 and importer.
 *  [Alex Spataru](https://wordpress.org/support/users/alexandrubr/)
 * (@alexandrubr)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-8589709)
 * Yeah, still deprecated.
 *  [revanslacey](https://wordpress.org/support/users/revanslacey/)
 * (@revanslacey)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-8840047)
 * I’m trying to move some sites from wordpress.com to wordpress.org. I assumed 
   wp to wp would be easy but I’m baffled. One site imported some but not all pages
   and posts. I’m now trying the next site and I get all this:
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   home/viewanda/public_html/brothersnotlovers.com/wp-includes/functions.php on 
   line 3828
 * I’m not deeply technical and don’t know what to do now. 🙁
 *  [designcomputer](https://wordpress.org/support/users/designcomputer/)
 * (@designcomputer)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-9045885)
 * Welcome to WordPress 4.7.3
 * I am working my way through the Themes documentation for developers. While setting
   up a development environment it is suggested that you import test data.
    You 
   guessed it, I am having the same error noted above.
 * ***
 * Import WordPress
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   var/www/html/wp-includes/functions.php on line 3829
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   var/www/html/wp-includes/functions.php on line 3829
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   var/www/html/wp-includes/functions.php on line 3829
 * Notice: wp_get_http is deprecated since version 4.4.0! Use WP_Http instead. in/
   var/www/html/wp-includes/functions.php on line 3829

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Deprecated code in WordPress Importer’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-importer/assets/icon.svg?rev=2791650)
 * [WordPress Importer](https://wordpress.org/plugins/wordpress-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-importer/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [deprecated code](https://wordpress.org/support/topic-tag/deprecated-code/)

 * 9 replies
 * 8 participants
 * Last reply from: [designcomputer](https://wordpress.org/support/users/designcomputer/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/deprecated-code-in-wordpress-imported/#post-9045885)
 * Status: resolved