wordpress-develop icon indicating copy to clipboard operation
wordpress-develop copied to clipboard

Docs: improve grammar in plugin.php file header comment

Open SAURABHHAM44 opened this issue 1 week ago • 4 comments

Description

This PR improves the grammar in the file header comment of src/wp-includes/plugin.php.

Change Made: Removed an awkward comma from the line:

  • Before: "and filters and hooking functions, and methods."
  • After: "and filters and hooking functions and methods."

Why: The comma placement was grammatically incorrect and made the sentence harder to read. This improves clarity for developers reading the plugin API documentation.

Testing:

  • No code changes - documentation comment only
  • No functional impact
  • File syntax remains valid

Note: A corresponding Trac ticket should be created at https://core.trac.wordpress.org/ for this PR to be considered for merging. Please add the ticket number using: Fixes: #[TICKET_NUMBER]

SAURABHHAM44 avatar Jan 08 '26 16:01 SAURABHHAM44