WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#46928 new defect (bug)

Docs: Add missing description for global $comment param

Reported by: immeet94 Owned by:
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: docs Cc:

Description


Attachments (2)

#46928.diff (1.5 KB) - added by immeet94 2 months ago.
Please see this file for patch
#46928-2.diff (3.4 KB) - added by immeet94 2 months ago.
upload patch file

Download all attachments as: .zip

Change History (6)

@immeet94
2 months ago

Please see this file for patch

#1 @mukesh27
2 months ago

  • Focuses coding-standards removed
  • Keywords needs-refresh added

Hi @immeet94, thanks for the patch!

It would be good to perform global search for @global WP_Comment and then add description for $comment in DocBlocks.

Need to add/replace description in below files.

  • wp-includes/class-wp-query.ph
  • wp-includes/comment-template.ph
  • wp-includes/comment.ph
  • wp-includes/template.php

#2 @immeet94
2 months ago

Hi @mukesh27 , Thanks for guiding me

just update the patch.

Thanks.

@immeet94
2 months ago

upload patch file

#3 @mukesh27
2 months ago

  • Keywords needs-refresh removed

#46928-2.diff​ looks good to me.

#4 @SergeyBiryukov
2 months ago

  • Milestone changed from Awaiting Review to 5.3
Note: See TracTickets for help on using tickets.