Make WordPress Core

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#57209 closed defect (bug) (fixed)

Inconsistent function definition brace

Reported by: alberuni-azad's profile Alberuni Azad. Owned by: audrasjb's profile audrasjb
Milestone: 6.2 Priority: normal
Severity: normal Version: 4.4
Component: General Keywords: has-patch commit
Focuses: coding-standards Cc:

Description

On line 69 of the wp-admin/includes/noop.php file. The right brace of the function is not in the new line which is not consistent. The brace should be in the new line.

Change History (7)

#1 @audrasjb
15 months ago

  • Owner set to audrasjb
  • Status changed from new to reviewing

Hello @alberuni-azad,

Thanks for reporting this. Would you like to propose a patch?

This ticket was mentioned in PR #3687 on WordPress/wordpress-develop by @Alberuni Azad..


15 months ago
#2

  • Keywords has-patch added

#3 @audrasjb
15 months ago

  • Milestone changed from Awaiting Review to 6.2
  • Version set to 4.4

Introduced in [34037].

#4 @Alberuni Azad.
15 months ago

Hi @audrasjb I've submitted the patch.

#5 @audrasjb
15 months ago

  • Keywords commit added
  • Status changed from reviewing to accepted

Ah thanks for the patch. Self-assigning for commit.

#6 @audrasjb
15 months ago

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

In 54876:

Coding Standards: Fix brace indentation in wp-align/includes/noop.php.

Props alberuni-azad.
Fixes #57209.
See #56792.

Note: See TracTickets for help on using tickets.