Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#14023 closed defect (bug) (invalid)

Using wp-blog-header.php in another skript returns HTTP 404

Reported by: boyanyurukov's profile boyan.yurukov Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: http 404 header coding reporter-feedback
Focuses: Cc:

Description

I am using 3.0 and with the old WP I wrote a few extra scripts that include wp-blog-header.php to get hold of the WP system, and return some data for the comments. In the new version those scripts still return the data, but also a HTTP 404. I solved the issue though throwing another header with HTTP 200 after the include.

Change History (1)

#1 @Denis-de-Bernardy
15 years ago

  • Component changed from HTTP to General
  • Keywords reporter-feedback added
  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed

Sounds like you should be using wp-load.php

Note: See TracTickets for help on using tickets.