Make WordPress Core

Opened 6 years ago

Closed 4 weeks 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:


Remove extra if condition from get_plugins function.

Attachments (1)

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

Download all attachments as: .zip

Change History (6)

6 years ago

#1 @mukesh27
6 years ago

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

#2 @mukesh27
6 years ago

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

#3 @mukesh27
6 years ago

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

#4 @SergeyBiryukov
4 weeks ago

  • Milestone changed from Awaiting Review to 6.6

#5 @SergeyBiryukov
4 weeks 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.