[wp-trac] [WordPress Trac] #4329: RSD-Generated API Links broken
when site != url
WordPress Trac
wp-trac at lists.automattic.com
Thu May 24 11:40:57 GMT 2007
#4329: RSD-Generated API Links broken when site != url
------------------------+---------------------------------------------------
Reporter: redsweater | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.2.1
Component: XML-RPC | Version: 2.2
Severity: normal | Keywords:
------------------------+---------------------------------------------------
A MarsEdit customer discovered a bug with his WordPress installation's RSD
content. For WordPress installations where the wordpress directory differs
from the blog URL direcdtory, the RSD file generated by WordPress contains
xmlrpc.php URLs that point to the wrong place.
The bug is in xmlrpc.php, where URLs for pointing at xmlrpc.php are
generated, e.g.:
<api name="Movable Type" blogID="1" preferred="true" apiLink="<?php
bloginfo_rss('url') ?>/xmlrpc.php" />
I believe the bloginfo_rss line should actually be looking up "wpurl"
instead of "url".
The funny thing is, a nearly identical bug caused the RSD link to not be
found in this circumstance, but was fixed:
http://trac.wordpress.org/ticket/2349
Of course, now it finds the RSD - it's just full of useless URLs :)
The customer noticed this on WP 2.2, but I believe it's been around
forever. Note in the initial RSD checkin, all the "bloginfo" keys are
"url":
http://trac.wordpress.org/changeset/3009
The ticket linked above fixed the problem for the link TO the rsd, but not
for the links generated by the RSD.
--
Ticket URL: <http://trac.wordpress.org/ticket/4329>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list