Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3979 closed defect (bug) (fixed)

Can't set a static page as the front page

Reported by: donncha's profile donncha Owned by:
Milestone: 2.1.3 Priority: low
Severity: major Version: 2.1.2
Component: Administration Keywords: show_on_front staticpage has-patch commit
Focuses: Cc:

Description

I'm not sure why but somehow casting empty query vars as strings causes problems for show_on_front.
The attached patch fixes that.

Attachments (1)

patch.diff (562 bytes) - added by donncha 18 years ago.

Download all attachments as: .zip

Change History (6)

@donncha
18 years ago

#1 @foolswisdom
18 years ago

  • Keywords has-patch commit added
  • Version set to 2.2

#2 @ryan
18 years ago

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

(In [5051]) Don't cast to string if empty. Props donncha. fixes #3979

#3 @ryan
18 years ago

(In [5052]) Don't cast to string if empty. Props donncha. fixes #3979 for 2.1

#4 @ryan
18 years ago

(In [5053]) Don't cast to string if empty. Props donncha. fixes #3979 for 2.0

#5 @ryan
18 years ago

  • Milestone changed from 2.2 to 2.1.3
  • Version changed from 2.2 to 2.1.2
Note: See TracTickets for help on using tickets.