WordPress.org

Make WordPress Core

Opened 3 months ago

Closed 3 months ago

#49150 closed defect (bug) (fixed)

Yoda conditions in wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

Reported by: jenilk Owned by: SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version: 5.3.2
Component: REST API Keywords: has-patch
Focuses: rest-api, coding-standards Cc:

Description

Added Yoda conditions in wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

Attachments (1)

49150.patch (550 bytes) - added by jenilk 3 months ago.

Download all attachments as: .zip

Change History (3)

@jenilk
3 months ago

#1 @SergeyBiryukov
3 months ago

  • Milestone changed from Awaiting Review to 5.4

#2 @SergeyBiryukov
3 months ago

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

In 47050:

Coding Standards: Use Yoda conditions in wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php.

Props jenilk.
Fixes #49150.

Note: See TracTickets for help on using tickets.