[wp-trac] [WordPress Trac] #63900: Improve PHPDoc for wp_parse_id_list() in functions.php

WordPress Trac noreply at wordpress.org
Sat Aug 30 15:29:55 UTC 2025


#63900: Improve PHPDoc for wp_parse_id_list() in functions.php
--------------------------+-----------------------------
 Reporter:  prab18hat     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  needs-docs
  Focuses:                |
--------------------------+-----------------------------
 The inline documentation for the wp_parse_id_list() function in
 functions.php has been updated for clarity and to better align with
 WordPress coding standards.

 Expanded the PHPDoc to specify accepted parameter types (int|string|array)
 and the return value (int[] array of unique, positive integers).
 This change helps developers and contributors understand the function’s
 usage and output, improving code maintainability and IDE support.
 No code logic was changed—only documentation was improved.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63900>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list