Changes between Initial Version and Version 2 of Ticket #6484
- Timestamp:
- 03/31/2008 04:50:03 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6484 – Description
initial v2 3 3 This 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! 4 4 5 {{{ 5 6 <?php 6 7 require('wp-blog-header.php'); … … 12 13 echo " and have_posts() returns: ".$mytest; 13 14 ?> 15 }}} 14 16 15 17 Is this a bug, or has something changed that requires changes to how this works?