mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Check to see we have posts before calling the_post(). Fixes #13510 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@14829 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
* We reset this later so we can run the loop
|
||||
* properly with a call to rewind_posts().
|
||||
*/
|
||||
the_post();
|
||||
if ( have_posts() )
|
||||
the_post();
|
||||
?>
|
||||
|
||||
<h1 class="page-title">
|
||||
|
||||
Reference in New Issue
Block a user