[wp-testers] Problems with get_bloginfo('rss2_url') in WP2.0.5

Chen ZhaoLin tedfox at gmail.com
Sun Nov 12 11:16:12 GMT 2006


Hi,

from codex, i'm using <?php bloginfo('rss2_url'); ?>

http://codex.wordpress.org/Template_Tags/bloginfo

On 11/12/06, Ajay D'Souza <ajaydsouza at gmail.com> wrote:
>
> Hi,
>
> I was using the function get_bloginfo('rss2_url') in a plugin. But I get
> this error:
>
> *Fatal error*: Call to a member function on a non-object in *
> /home/adcom/public_html/wp-includes/template-functions-links.php* on line
> *
> 185*
>
> The linke 185 in template-functions-links.php is  $permalink =
> $wp_rewrite->get_feed_permastruct();
>
> template-functions-links.php has been added in 2.0.5 I believe, because I
> couldn't find it in my installation of 2.0.4
>
> How do I find out the rss2_url if this doesn't work?
>
> Regards,
> Ajay
>
>
>
> --
> -------------------------------------------------
> Blogging @ http://ajaydsouza.com
> Download themes, screensavers and more from http://megathemes.com
> All about Sir Arthur Conan Doyle and Sherlock Holmes at
> http://sirconandoyle.com
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list