WordPress.org

Make WordPress Core

Opened 8 weeks ago

Closed 8 weeks ago

#47921 closed defect (bug) (fixed)

added missing break in default case in function `wp_privacy_anonymize_data`

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

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 8 weeks ago.

Download all attachments as: .zip

Change History (4)

@itowhid06
8 weeks ago

#1 @SergeyBiryukov
8 weeks 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
8 weeks ago

  • Focuses coding-standards added

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