WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 8 months ago

#47405 closed enhancement (wontfix)

Need To add proper comment to understand function's working.

Reported by: priyankkpatel Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: External Libraries Keywords: has-patch
Focuses: docs Cc:
PR Number:

Description

As per the coding we have to add proper comments before any function for better understanding of users.
In wp-includes/class-phpass.php most of the functions are not having comment above it.

Attachments (1)

47405.diff​ (956 bytes) - added by priyankkpatel 8 months ago.
Example patch for wp-includes/class-phpass.php

Download all attachments as: .zip

Change History (2)

@priyankkpatel
8 months ago

Example patch for wp-includes/class-phpass.php

#1 @SergeyBiryukov
8 months ago

  • Component changed from Comments to External Libraries
  • Focuses docs added
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Thanks for the patch! However, class-phpass.php is a third-party library which we usually don’t modify.

Note: See TracTickets for help on using tickets.