[wp-trac] [WordPress Trac] #55154: Typo in a comment in wp_get_image_mime()

WordPress Trac noreply at wordpress.org
Sat Feb 12 21:38:03 UTC 2022


#55154: Typo in a comment in wp_get_image_mime()
--------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov            |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.0
Component:  Media                     |     Version:
 Severity:  trivial                   |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+-----------------------------

Comment (by azouamauriac):

 Replying to [comment:2 SergeyBiryukov]:
 > In [changeset:"52719" 52719]:
 > {{{
 > #!CommitTicketReference repository="" revision="52719"
 > Docs: Fix typo in a comment in `wp_get_image_mime()`.
 >
 > Follow-up to [39831].
 >
 > Props dilipbheda.
 > Fixes #55154.
 > }}}

 Hi I think the first word in the comment should be "uses" as it referred
 to the third person of singular what replace "the block".

 So it should be
 {{{#!php
 <?php
 /*
 * (it) Uses exif_imagetype() to check...
 */
 }}}
 Without the "it". "It" referred to the block.

 RE: [https://developer.wordpress.org/coding-standards/inline-
 documentation-standards/php/#language]

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


More information about the wp-trac mailing list