#15195 closed defect (bug) (fixed)
wp-links-opml.php has status 404
Reported by: | dbt | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
The HTTP status code is incorrect. However, the content looks fine! I'm confused -- is this possibly related to permalinks canonicalization?
Change History (6)
#5
@
14 years ago
- Milestone changed from Awaiting Review to 3.1
I couldn't see any reason why wp() needed to be called here.
The script is not secured in any way, and only needs Taxonomy/Link access.
The 404'ing was caused by WP_Query looking for a page slug of 'wp-link-opml.php' which obviously doesnt exist. Not querying for posts also removes 2 useless SQL queries, bringing the page to 3 required SQL queries.
Note: See
TracTickets for help on using
tickets.
terrible workaround:
+header('HTTP/1.1 200 OK');