Getting Warnings & Notices from Fresh WordPress 3.1.2 install

I just installed WordPress 3.1.2, I got

`Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( ‘automatic-feed-links’ ) instead. in /works/web/elements/wp-includes/functions.php on line 3303

I also got an error about Cannot open stream or something about wp-cron.php?doing-cron or something

Its WordPress’s own code, plus from a fresh install, this should not happen right?

UPDATE

The error I got was

Warning:
fopen(http://elements/wp-cron.php?doing_wp_cron):
failed to open stream: HTTP request
failed! in
/works/web/elements/wp-includes/class-http.php
on line 1063

Running WordPress 3.1.2 fresh install

3 Answers
3

it sounds like even though its a fresh install of WP 3.1.2 that you are also using an existing theme that is using a deprecated function (you havent said so but im presuming),

if so paste this into your themes functions.php file (if your theme doesnt have one just create one and save it in your themes root folder)..

if(function_exists('add_theme_support')) {
add_theme_support('automatic-feed-links');
}

Leave a Comment