#60810 closed enhancement (fixed)
Coding Standards: Rename `$postid` parameter in `has_meta()`
Reported by: | mujuonly | Owned by: | swissspidy |
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | trivial | Version: | 6.5 |
Component: | Posts, Post Types | Keywords: | has-patch commit |
Focuses: | coding-standards | Cc: |
Description
Coding Standards: Rename the $postid parameter to $post_id to match other functions in the file receiving post ID as a parameter.
Change History (6)
This ticket was mentioned in PR #6294 on WordPress/wordpress-develop by @mujuonly.
6 months ago
#1
- Keywords has-patch added
#2
@
6 months ago
- Keywords commit added
- Milestone changed from Awaiting Review to 6.6
Hi, Thanks for the ticket and PR,
Similar to [57857] that @SergeyBiryukov committed other day.
#3
@
6 months ago
- Owner set to swissspidy
- Status changed from new to reviewing
Looks good to me.
Let's handle more CS changes in #60700 directly.
#4
@
6 months ago
- Component changed from General to Posts, Post Types
- Summary changed from Coding standard fix to Coding Standards: Rename `$postid` parameter in `has_meta()`
@swissspidy commented on PR #6294:
6 months ago
#6
Note: See
TracTickets for help on using
tickets.
Coding Standards: Rename the $postid parameter to $post_id to match other functions receiving post ID as a parameter.
Coding Standards: Rename the $postid parameter to $post_id
Trac ticket: https://core.trac.wordpress.org/ticket/60810