[wp-trac] [WordPress Trac] #60477: Remove commented out code in wp-includes

WordPress Trac noreply at wordpress.org
Mon Feb 26 22:47:07 UTC 2024


#60477: Remove commented out code in wp-includes
--------------------------+-------------------------------
 Reporter:  viralsampat   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Yes, the `class-wp-query.php` and `functions.wp-styles.php` comments are
 legitimate and need to stay.

 - Since [4956], WP query has had a
 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-
 query.php?rev=57648&marks=1035-1122#L1035 pair of comments] to indicate
 where the `is_*` correction begins and ends.
 - [4105] added the short note about fixing the call from `wp_head`
 (ticket:2701#comment:19).
 - The `rss.php` file is the deprecated MagpieRSS external library, and
 #57107 might remove the library's code. If not, #59548 already suggested
 similar edits.
 - To suggest any revisions to the sodium_compat external library, you
 could visit https://github.com/paragonie/sodium_compat

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


More information about the wp-trac mailing list