From f6aabb841a45b8af0a731fc921d02f20390fd977 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 25 Oct 2008 20:09:01 +0000 Subject: [PATCH] Revert r42037 "Improve hidden field checks for bug 1181" I don't think this check has any real benefit, since in the form the fields appear before the text box there's basically no way to submit the form without them. However the more stringent checks are causing disruption to bot edit tools, which annoys people, so I'm backing it out for the time being. --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 667e625ac9..912580d73d 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -566,7 +566,7 @@ class EditPage { $this->scrolltop = $request->getIntOrNull( 'wpScrolltop' ); - if ( is_null($this->section) || !$this->edittime || !$this->starttime ) { + if ( is_null( $this->edittime ) ) { # If the form is incomplete, force to preview. wfDebug( "$fname: Form data appears to be incomplete\n" ); wfDebug( "POST DATA: " . var_export( $_POST, true ) . "\n" ); -- 2.20.1