Make WordPress Core

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#60810 closed enhancement (fixed)

Coding Standards: Rename `$postid` parameter in `has_meta()`

Reported by: mujuonly's profile mujuonly Owned by: swissspidy's profile 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.


2 months ago
#1

  • Keywords has-patch added

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

#2 @mukesh27
2 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 @swissspidy
2 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 @swissspidy
2 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()`

#5 @swissspidy
2 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 57860:

Coding Standards: Rename the $postid parameter to $post_id in `has_meta().

Props mujuonly.
Fixes #60810.
See #60700.

Note: See TracTickets for help on using tickets.