[wp-trac] [WordPress Trac] #15195: wp-links-opml.php has status 404

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 23 08:15:37 UTC 2010


#15195: wp-links-opml.php has status 404
--------------------------+-------------------------------------------------
 Reporter:  dbt           |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by dbt):

 terrible workaround:

  if ( empty($wp) ) {
         require_once('./wp-load.php');
         wp();
  }
 +header('HTTP/1.1 200 OK');

  header('Content-Type: text/xml; charset=' . get_option('blog_charset'),
 true);

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15195#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list