[wp-trac] [WordPress Trac] #58063: Replace 'else if' with 'elseif' in wp-includes/atomlib.php

WordPress Trac noreply at wordpress.org
Mon Apr 3 20:32:57 UTC 2023


#58063: Replace 'else if' with 'elseif' in wp-includes/atomlib.php
-------------------------------------+-------------------------------
 Reporter:  wpfy                     |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  changes-requested close  |     Focuses:  coding-standards
-------------------------------------+-------------------------------
Changes (by azaozz):

 * keywords:  has-patch changes-requested => changes-requested close


Comment:

 The files in `/wp-includes/IXR/` are part of the `/wp-includes/class-
 IXR.php` external library. [https://github.com/WordPress/wordpress-
 develop/blob/trunk/src/wp-includes/class-IXR.php See the license,
 copyright], etc.

 In that terms it seems the (visual, stylistic) WP coding standards do not
 apply there unless that class is officially forked by WP and moved to a
 wordpress.org repo. This does not apply to PHP compatibility fixes, and
 similar.

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


More information about the wp-trac mailing list