[wp-trac] [WordPress Trac] #63704: Docs: Fix typo and mark unused parameter in deprecated functions

WordPress Trac noreply at wordpress.org
Wed Jul 16 06:35:28 UTC 2025


#63704: Docs: Fix typo and mark unused parameter in deprecated functions
--------------------------+-------------------------------
 Reporter:  bhaveshdesai  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by mukesh27):

 * keywords:   => dev-feedback
 * version:  6.8.2 =>


Old description:

> This patch fixes a typo in the documentation comment for the get_udims()
> function in wp-admin/includes/deprecated.php ("Calculated" →
> "Calculates").
>   It also adds a comment to mark the unused $fp parameter in the
> debug_fclose() function in wp-includes/deprecated.php to avoid unused
> parameter warnings.
>
>   These are minor documentation/code quality improvements.

New description:

 This patch fixes a typo in the documentation comment for the `get_udims()`
 function in `wp-admin/includes/deprecated.php` ("Calculated" →
 "Calculates").

 It also adds a comment to mark the unused $fp parameter in the
 `debug_fclose()` function in `wp-includes/deprecated.php` to avoid unused
 parameter warnings.

 These are minor documentation/code quality improvements.

--

Comment:

 Hi there!

 Welcome to Trac, and thank you for creating the ticket.

 Since those functions are deprecated, it doesn't make sense to update them
 at this point. I've marked the ticket for developer feedback to confirm
 whether we plan to update these files or leave them as is.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63704#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list