Make WordPress Core

Opened 7 years ago

Closed 13 months ago

#44853 closed enhancement (fixed)

Remove extra condition

Reported by: abhijitrakas's profile abhijitrakas Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.6 Priority: normal
Severity: minor Version:
Component: Plugins Keywords: has-patch dev-feedback
Focuses: administration, coding-standards Cc:

Description

Remove extra if condition from get_plugins function.

Attachments (1)

44853.diff (487 bytes) - added by abhijitrakas 7 years ago.

Download all attachments as: .zip

Change History (6)

@abhijitrakas
7 years ago

#1 @mukesh27
7 years ago

  • Component changed from Administration to Plugins
  • Focuses coding-standards added
  • Keywords 2nd-opinion added
  • Severity changed from normal to minor

#2 @mukesh27
7 years ago

  • Keywords dev-feedback added; 2nd-opinion removed

#3 @mukesh27
7 years ago

Above diff is working for me let's wait for core developer comment and thoughts on this.

#4 @SergeyBiryukov
13 months ago

  • Milestone changed from Awaiting Review to 6.6

#5 @SergeyBiryukov
13 months ago

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

In 58067:

Coding Standards: Remove extra conditional in get_plugins().

Follow-up to [1894], [5152], [55990].

Props abhijitrakas, mukesh27.
Fixes #44853.

Note: See TracTickets for help on using tickets.