Make WordPress Core

Opened 4 years ago

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


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 4 years ago.

Download all attachments as: .zip

Change History (4)

4 years ago

#1 @SergeyBiryukov
4 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
4 years ago

  • Focuses coding-standards added

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