[wp-trac] [WordPress Trac] #50498: Change "html" to "HTML" in atomlib.php

WordPress Trac noreply at wordpress.org
Sun Jun 28 18:06:02 UTC 2020


#50498: Change "html" to "HTML" in atomlib.php
--------------------------+------------------------------
 Reporter:  man4toman     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Thanks for the ticket!

 Similarly to `class-pclzip.php` in #49163, `atomlib.php` used to be
 treated as an external library and was previously excluded from any
 documentation or coding standard fixes. We only modify third-party
 libraries when it's needed to fix a bug, like in [37461], [38883], or
 [39591].

 That said, looking at the [https://core.trac.wordpress.org/log/trunk/src
 /wp-includes/atomlib.php?mode=follow_copy commit history], there were some
 string changes in the past.

 I think it's safe to treat `atomlib.php` as "adopted" library rather than
 external. While I don't feel strongly about making this change, I don't
 see any harm in it either.

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


More information about the wp-trac mailing list