Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#41749 closed defect (bug) (duplicate)

add comma in last array value in (wp-login.php ,wp-signup.php)

Reported by: umangvaghela123 Owned by:
Priority: normal Milestone:
Component: Login and Registration Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

add comma in last array value in (wp-login.php ,wp-signup.php)

Attachments (1)

41749.patch​ (2.0 KB ) - added by umangvaghela123 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @umangvaghela123
9 years ago

  • Keywords has-patch added

#2 @netweb
9 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Thanks @umangvaghela123, I'm going to close this and mark it as a duplicate of #41057 as what you have patched here in 41749.patch​ is already covered by that ticket.


It's also worth noting that the comma for the last item in arrays is only for multiline arrays and not single line arrays

See ​https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#indentation

#3 @SergeyBiryukov
9 years ago

  • Component General → Login and Registration
Note: See TracTickets for help on using tickets.