﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
14661	Notices from edit.php?post_type=page	mrmist		"There are 2 notices under wp-debug from  wp-admin\includes\template.php caused when opening the edit Page screen when no Pages are present.  

Trying to get property of non-object on lines 2483 and 2492.

The culprit appears to be the use of $post when $post is empty.  A check is made against $for-post but no empty comparison is done against $post. Unfortunately my attempts to code a patch fell apart when trying to deal with the knock-on effects of having to set a $post_date on line 2492...

This is under 3.0.1, I haven't tested against trunk as my svn copy has too many pages."	defect (bug)	closed	normal		Warnings/Notices	3.0.1	minor	worksforme	needs-patch	
