[wp-trac] [WordPress Trac] #15195: wp-links-opml.php has status 404
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 23 12:20:12 UTC 2010
#15195: wp-links-opml.php has status 404
--------------------------+-------------------------------------------------
Reporter: dbt | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.1
Component: General | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+-------------------------------------------------
Changes (by dd32):
* milestone: Awaiting Review => 3.1
Comment:
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15195#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list