Forums

[resolved] [Plugin: WP-Yadis] SOLVED: using Yadis Plugin with WP >= 2.3.2 (2 posts)

  1. RichardBronosky
    Member
    Posted 1 year ago #

    In order to get delegation to work I have to change line 34 of wp-content/plugins/yadis/yadis.php to:
    <meta http-equiv="X-XRDS-Location" content="'.get_option('home').($wp_rewrite->using_mod_rewrite_permalinks() ? '' : '/index.php').'?xrds=1" />';

    That causes xrds to show up in the query_vars in PHP, otherwise it only showed up in PATH_INFO. The default behavior of "/index.php/path_info" getting 301 redirected to "/path_info/". Since /xrds/ doesn't exist that resulted in a 404 not found. My solution causes the xrds xml document to be delivered, and all is well.

    You can edit the PHP files directly through the WordPress admin. Click Admin, Plugins, Plugin Editor, WP-Yadis. Or just go the address: YourBlog/wp-admin/plugin-editor.php?file=yadis/yadis.php

    http://wordpress.org/extend/plugins/yadis/

  2. akim
    Member
    Posted 1 year ago #

    2 RichardBronosky
    That line fix problem for 2.5. Thank you :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags