Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#47921 closed defect (bug) (fixed)

added missing break in default case in function `wp_privacy_anonymize_data`

Reported by: itowhid06's profile itowhid06 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: Privacy Keywords: has-patch 2nd-opinion
Focuses: coding-standards Cc:

Description

I know it's not required to add break at the last case of switch statements but I would like to see it for the sake of coding consistency.

Attachments (1)

47921.diff (330 bytes) - added by itowhid06 5 years ago.

Download all attachments as: .zip

Change History (4)

@itowhid06
5 years ago

#1 @SergeyBiryukov
5 years ago

  • Component changed from General to Privacy
  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#2 @SergeyBiryukov
5 years ago

  • Focuses coding-standards added

#3 @SergeyBiryukov
5 years ago

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

In 45877:

Coding Standards: Add missing break for the default case in wp_privacy_anonymize_data().

Props itowhid06.
Fixes #47921.

Note: See TracTickets for help on using tickets.