Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#5150 closed defect (bug) (fixed)

Undeclared variable in _cat_row()

Reported by: stephdau's profile stephdau Owned by: westi's profile westi
Milestone: 2.3.1 Priority: normal
Severity: normal Version: 2.3
Component: Administration Keywords:
Focuses: Cc:

Description

In _cat_row():

$default_link_cat_id is used but undeclared.

Missing? -> $default_link_cat_id = (int) get_option( 'default_link_category' );

See patch

Attachments (2)

_cat_row.diff (1.1 KB) - added by stephdau 17 years ago.
6192.diff (1.1 KB) - added by stephdau 17 years ago.

Download all attachments as: .zip

Change History (8)

@stephdau
17 years ago

@stephdau
17 years ago

#1 @stephdau
17 years ago

Sorry for the double patch. Realized naming convention after adding the 1st one.

#2 @westi
17 years ago

  • Milestone changed from 2.5 to 2.4
  • Owner changed from anonymous to westi
  • Status changed from new to assigned

Good catch.

#3 @westi
17 years ago

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

(In [6193]) Ensure we have the default category id. Fixes #5150 for trunk

#4 @westi
17 years ago

  • Milestone changed from 2.4 to 2.3.1
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopen for 2.3.1

#5 @westi
17 years ago

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

(In [6194]) Ensure we have the default category id. Fixes #5150 for branches/2.3

#6 @stephdau
17 years ago

Kewl. At least my first report wasn't a dud. ;)

Note: See TracTickets for help on using tickets.