Skip to content

Fix docs functionsphp#9676

Closed
prab18hat wants to merge 4 commits intoWordPress:trunkfrom
prab18hat:fix-docs-functionsphp
Closed

Fix docs functionsphp#9676
prab18hat wants to merge 4 commits intoWordPress:trunkfrom
prab18hat:fix-docs-functionsphp

Conversation

@prab18hat
Copy link

This pull request improves the inline documentation for the wp_parse_id_list() function in [functions.php]

Expanded the PHPDoc block to clearly specify accepted parameter types (int|string|array) and the return value (int[] array of unique, positive integers).
The updated documentation follows WordPress coding standards and helps developers better understand the function’s usage and output.
No code logic was changed—only the documentation was enhanced for clarity and maintainability.

https://core.trac.wordpress.org/ticket/63900

- Updated @return type for is_new_day() from int to bool
- Clarified return type in xmlrpc_getpostcategory()
- Improved @param description for get_weekstartend()
- Corrected grammar in build_query() docblock
- Improved return description in get_status_header_desc()
@github-actions
Copy link

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 prab18hat.

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

@prab18hat prab18hat closed this by deleting the head repository Sep 3, 2025
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.

1 participant