Problems with preview
-
When I’m writing a post in WordPress and try to get a preview of my post, I keep getting this error: Sorry, no posts matched your criteria.
The post is in the database, I’ve checked that, so since that’s not the case, I’m trying to find the function or file where the post is actually fetched from the database.
I’ve started from the beginning with the file wordpress.php and tracked the flow to the file wp-settings.php. From here I don’t know where to look.
The flow from wordpress.php to wp-settings.php is like this: wordpress.php -> wp-blog-header.php ->wp-load.php -> wp-config.php -> wp-settings.php
There are a number of function calls from wp-settings.php. Which is the essential one?
Can anyone tell me where to look to find where the fetching from the database is executed?
- The topic ‘Problems with preview’ is closed to new replies.