WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 weeks ago

#46928 closed defect (bug) (fixed)

Docs: Add missing description for global $comment param

Reported by: immeet94 Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch commit
Focuses: docs Cc:
PR Number:

Description


Attachments (2)

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

Download all attachments as: .zip

Change History (10)

@immeet94
7 months ago

Please see this file for patch

#1 @mukesh27
7 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
7 months ago

Hi @mukesh27 , Thanks for guiding me

just update the patch.

Thanks.

@immeet94
7 months ago

upload patch file

#3 @mukesh27
7 months ago

  • Keywords needs-refresh removed

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

#4 @SergeyBiryukov
7 months ago

  • Milestone changed from Awaiting Review to 5.3

This ticket was mentioned in Slack in #core by david.baumwald. View the logs.


3 months ago

#6 @davidbaumwald
2 months ago

  • Keywords commit added

#7 @SergeyBiryukov
7 weeks ago

  • Component changed from General to Comments

Related: #46503

#8 @SergeyBiryukov
7 weeks ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 46391:

Docs: Add missing description for $comment global.

Props immeet94, mukesh27.
Fixes #46928. See #47110.

Note: See TracTickets for help on using tickets.