[wp-trac] [WordPress Trac] #50737: Description and Parameters DocBlock for comment_id_fields() can be more descriptive

WordPress Trac noreply at wordpress.org
Thu Jul 23 13:10:07 UTC 2020


#50737: Description and Parameters DocBlock for comment_id_fields() can be more
descriptive
--------------------------+-----------------------------
 Reporter:  stevenlinx    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48577" 48577]:
 {{{
 #!CommitTicketReference repository="" revision="48577"
 Docs: Improve description for `comment_id_fields()`.

 Rename the `$id` parameter to `$post_id` for clarity.

 Props stevenlinx.
 Fixes #50737.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50737#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list