Make WordPress Core

Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#56839 closed defect (bug) (fixed)

Document the $wp_query global in WP_Media_List_Table::display_rows()

Reported by: upadalavipul's profile upadalavipul Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.2 Priority: normal
Severity: normal Version: 6.1
Component: Media Keywords: has-patch
Focuses: docs, administration Cc:


I am checking for all function commenting details for good documentation and well comment and in which I have found one file that needs improvement. please check the below details.

file path: wp-admin/includes/class-wp-media-list-table.php

function name: display_rows()

Attachments (1)

56839.patch (445 bytes) - added by upadalavipul 8 months ago.

Download all attachments as: .zip

Change History (6)

8 months ago

This ticket was mentioned in PR #3495 on WordPress/wordpress-develop by @saumil1611.

8 months ago

  • Keywords has-patch added

Add param in doc
Ticket Ref:

#2 @SergeyBiryukov
8 months ago

  • Component changed from General to Media
  • Focuses administration added
  • Owner set to SergeyBiryukov
  • Status changed from new to accepted
  • Summary changed from Class function details need to improvement in class-wp-media-list-table.php file. to Document the $wp_query global in WP_Media_List_Table::display_rows()

#3 @SergeyBiryukov
8 months ago

  • Milestone changed from Awaiting Review to 6.2

#4 @SergeyBiryukov
8 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 54661:

Docs: Document the usage of $wp_query global in WP_Media_List_Table::display_rows().

Follow-up to [34127].

Props upadalavipul, saumil1611.
Fixes #56839.

@SergeyBiryukov commented on PR #3495:

8 months ago

Thanks for the PR! Merged in r54661.

Note: See TracTickets for help on using tickets.