Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #6484


Ignore:
Timestamp:
03/31/2008 04:50:03 PM (17 years ago)
Author:
lloydbudd
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6484 – Description

    initial v2  
    33This code worked on WP 2.3 but when I upgraded to 2.5 it stopped working. If you stick this code in the main wordpress directory, have_posts returns nothing, even though there are posts. If you put in a known exisitng post id, then you will see that it properly displays the post title, but have_posts still says there is nothing!
    44
     5{{{
    56<?php
    67require('wp-blog-header.php');
     
    1213echo " and have_posts() returns: ".$mytest;
    1314?>
     15}}}
    1416
    1517Is this a bug, or has something changed that requires changes to how this works?