WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#5150 closed defect (bug) (fixed)

Undeclared variable in _cat_row()

Reported by: stephdau Owned by: westi
Milestone: 2.3.1 Priority: normal
Severity: normal Version: 2.3
Component: Administration Keywords:
Focuses: Cc:
PR Number:

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 12 years ago.
6192.diff (1.1 KB) - added by stephdau 12 years ago.

Download all attachments as: .zip

Change History (8)

@stephdau
12 years ago

@stephdau
12 years ago

#1 @stephdau
12 years ago

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

#2 @westi
12 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
12 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
12 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
12 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
12 years ago

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

Note: See TracTickets for help on using tickets.