Skip to:
Content

BuddyPress.org

#7776 closed enhancement (fixed)

Redunent $title variable assignment in widget() method for BP_Nouveau_Object_Nav_Widget

Reported by: tw2113 Owned by: tw2113
Milestone: 3.0 Priority: normal
Severity: trivial Version:
Component: Templates Keywords:
Cc:

Description

$title is being initialized as an empty string right before an if statement checking for a filtered bp_nouveau_widget_title value, and if that returns true, we re-initialize the same $title variable as an empty string again.

Attachments (1)

7776-removetitlevar.diff (528 bytes) - added by tw2113 18 months ago.

Download all attachments as: .zip

Change History (4)

#1 @DJPaul
18 months ago

  • Milestone changed from Awaiting Review to 3.0

#2 @tw2113
18 months ago

  • Owner set to tw2113
  • Status changed from new to assigned

#3 @tw2113
18 months ago

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

In 12009:

Removes duplicate, unneeded empty string variable assignment for Nouveau Object Nave Widget.

Fixes #7776.
Props @tw2113.

Note: See TracTickets for help on using tickets.