Skip to content

Docs: Fix missing documentation in Plugins list table - #11087

Open
noruzzamans wants to merge 8 commits into
WordPress:trunkfrom
noruzzamans:class-wp-plugins-list-table
Open

noruzzamans wants to merge 8 commits into
WordPress:trunkfrom
noruzzamans:class-wp-plugins-list-table

Conversation

@noruzzamans

@noruzzamans noruzzamans commented Feb 27, 2026 •

Copy link
Copy Markdown

Trac Ticket: https://core.trac.wordpress.org/ticket/65860
Trac Ticket: https://core.trac.wordpress.org/ticket/64896

Why this change?

This aligns the codebase with the WordPress PHP Documentation Standards, ensuring that global variables used within functions are properly documented for better static analysis and code clarity.

  • Missing Tags: Added missing @global, @PARAM, and @return descriptions.
  • Method Summaries: Added summaries for several methods in both list table classes that were previously undocumented.
  • Property Docs: Added DocBlocks for class properties ($order, $orderby, etc.).

@github-actions

github-actions Bot commented Feb 27, 2026 •

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props noruzzaman, mukesh27, huzaifaalmesbah.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions

Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@mukeshpanchal27 mukeshpanchal27 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

Correct indentation for other doc changes

Comment thread src/wp-admin/includes/class-wp-plugins-list-table.php Outdated

@huzaifaalmesbah huzaifaalmesbah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@noruzzamans This PR has merge conflicts with trunk. Could you please rebase/update the branch and resolve the conflicts?

# Conflicts:
#	src/wp-admin/includes/class-wp-plugins-list-table.php
@noruzzamans

Copy link
Copy Markdown
Author

@noruzzamans This PR has merge conflicts with trunk. Could you please rebase/update the branch and resolve the conflicts?

Thanks @huzaifaalmesbah . I have resolved these conflicts. Please review it and let me know if need any improvement.

@noruzzamans

Copy link
Copy Markdown
Author

Hi @mukeshpanchal27 and @huzaifaalmesbah,

Since WordPress 7.1 has been released, I have updated this PR to link to the active WordPress 7.2 documentation improvement ticket: Trac #65860, while keeping the previous reference to Trac #64896.

The branch is up to date with trunk, and all docblocks and alignments in WP_Plugins_List_Table adhere to WordPress PHP Documentation Standards (100% PHPCS clean). Could you please take another look when you have a moment? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants