#59561 closed enhancement (fixed)
Short Description is missing in code comment
| Reported by: | 1naveengiri | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6 |
| Component: | General | Version: | 6.3.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs, coding-standards |
Description
Short Description helps to understand variable behavior and it seems missing at the following locations.
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-admin/edit-form-advanced.php#L19
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-admin/edit-form-blocks.php#L23
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-admin/edit.php#L35
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-admin/post-new.php#L17
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-admin/post.php#L35
Change History (5)
This ticket was mentioned in PR #6763 on WordPress/wordpress-develop by @shub07.
2 years ago
#2
- Keywords has-patch added; needs-patch removed
Added missing Doc comments for global Variables as per ticket.
@SergeyBiryukov commented on PR #6763:
2 years ago
#5
Thanks for the PR! Merged in r58419.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
All of the linked examples include both the
$post_typeand$post_type_objectglobal variables.I'm switching the type to enhancement because PHP Coding standards note that the description is optional.