[wp-trac] [WordPress Trac] #49474: Add missing quote to @see hook reference in function DocBlock

WordPress Trac noreply at wordpress.org
Wed Feb 19 06:47:38 UTC 2020


#49474: Add missing quote to @see hook reference in function DocBlock
--------------------------+-----------------------------
 Reporter:  coffee2code   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  lowest        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  4.6
 Severity:  trivial       |   Keywords:  has-patch
  Focuses:  docs          |
--------------------------+-----------------------------
 In the DocBlock for `wp_transition_comment_status()`, the opening single-
 quote is missing from a `@see` reference to a hook:

 Current:
 `{@see comment_$old_status_to_$new_status'}`

 Should be:
 `{@see 'comment_$old_status_to_$new_status'}`

 The Code Reference corrects for this, but ideally shouldn't have to.

 I've checked and this is the only current instance of this sort of thing.

 Patch attached.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49474>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list