WordPress.org

Make WordPress Core

Opened 7 weeks ago

Closed 7 weeks ago

#48228 closed defect (bug) (fixed)

Use Yoda condition in some Widget Classes

Reported by: itowhid06 Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: trivial Version: 5.3
Component: Widgets Keywords: has-patch
Focuses: coding-standards Cc:
PR Number:

Description

Used Yoda condition in some Widget Classes

Attachments (1)

48228.diff (1.4 KB) - added by itowhid06 7 weeks ago.

Download all attachments as: .zip

Change History (3)

@itowhid06
7 weeks ago

#1 @SergeyBiryukov
7 weeks ago

  • Milestone changed from Awaiting Review to 5.3

#2 @SergeyBiryukov
7 weeks ago

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

In 46415:

Coding Standards: Fix WPCS issues in WP_Widget_Links and WP_Widget_Pages.

Props itowhid06.
Fixes #48228.

Note: See TracTickets for help on using tickets.