From c61a4db3e51ba6af8511466ab80bd50455076567 Mon Sep 17 00:00:00 2001 From: azaozz Date: Wed, 30 Jul 2008 12:32:04 +0000 Subject: [PATCH] Stop PHP warnings when $_GET[revision] is not set. Props DD32, see #7437 git-svn-id: http://svn.automattic.com/wordpress/trunk@8508 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.' );