Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 14 years ago

#2619 closed defect (bug) (fixed)

No default for page.php

Reported by: viper007bond's profile Viper007Bond Owned by:
Milestone: 2.1 Priority: lowest
Severity: trivial Version: 2.1
Component: Administration Keywords: bg|has-patch bg|needs-testing
Focuses: Cc:

Description

Since page.php is no longer used, it doesn't have a default that's worthwhile. Ideally, the default is never supposed to be seen, but it can be, for example when you're on the edit page screen and hit the delete button, you end up at a nearly blank page.php.

My patch redirects to the manage Pages page if no action is set.

Attachments (2)

page.php.patch (281 bytes) - added by Viper007Bond 18 years ago.
page.php.2.patch (291 bytes) - added by Viper007Bond 18 years ago.
exit(); after sending the header

Download all attachments as: .zip

Change History (5)

@Viper007Bond
18 years ago

exit(); after sending the header

#1 @Viper007Bond
18 years ago

  • Keywords bg|has-patch bg|needs-testing added

#2 @davidhouse
18 years ago

  • Priority changed from normal to lowest
  • Severity changed from normal to trivial

Looks good.

#3 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3674]) Redirect if no action is set. Props Viper007Bond. fixes #2619

Note: See TracTickets for help on using tickets.