Opened 3 years ago
Closed 3 years ago
#52997 closed feature request (invalid)
Coding Standards: Multi-Line Code Comment Format Used In Place Of Single-Line Format.
Reported by: | rkradadiya | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.7 |
Component: | Users | Keywords: | has-screenshots |
Focuses: | docs, coding-standards | Cc: |
Description
Hello,
WordPress has a comment structure.
But developers have used a multi-line comment structure in a single-line comment in the below file.
wp-admin/user-new.php
Please use single line comment instead of a multiline.
Thanks,
Rajesh
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there, thanks for the ticket!
This comment format is used for documenting duplicate hooks as per the documentation standards. It's widely used in other core files and is correct as is.