From 4fb5af289af3d48607bb41d8f60ab04f4affc4df Mon Sep 17 00:00:00 2001 From: azaozz Date: Wed, 30 Jul 2008 12:33:29 +0000 Subject: [PATCH] Stop PHP warnings when $_GET[revision] is not set. Props DD32, see #7437, for 2.6 git-svn-id: http://svn.automattic.com/wordpress/branches/2.6@8509 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 4 +++- wp-admin/edit-page-form.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index bb629f421c..c5087979b9 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -7,7 +7,9 @@ $messages[1] = sprintf( __( 'Post updated. Continue editing below or View the autosave.' ); diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index a563032710..c80214507a 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -5,7 +5,9 @@ $messages[1] = sprintf( __( 'Page updated. Continue editing below or View the autosave.' );