[wp-trac] [WordPress Trac] #57681: wrong function comment

WordPress Trac noreply at wordpress.org
Thu Feb 9 16:17:56 UTC 2023


#57681: wrong function comment
-----------------------------+-------------------------------------
 Reporter:  patelmohip       |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Comments         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:  docs, coding-standards
-----------------------------+-------------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 audrasjb]:
 > For reference, this comes from #21568.

 Seems even earlier than that :) [23376] / #21568 updated the library
 version to 1.0.3, but this comment has been around since the library was
 introduced in [11875] / #10337.

 > Also, `Services_JSON` is an upstream lib

 That was my initial thought too, but I see
 [https://core.trac.wordpress.org/log/trunk/src/wp-includes/class-json.php
 some changes over the years], including typo fixes and other documentation
 edits, so we might as well improve this comment :)

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


More information about the wp-trac mailing list