[wp-trac] [WordPress Trac] #59548: Need update unused $errormsg variables on the rss.php file.

WordPress Trac noreply at wordpress.org
Wed Oct 18 15:30:34 UTC 2023


#59548: Need update unused $errormsg variables on the rss.php file.
--------------------------+-------------------------------
 Reporter:  upadalavipul  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Feeds         |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by sabernhardt):

 * keywords:   => 2nd-opinion
 * component:  General => Feeds
 * severity:  normal => minor


Comment:

 #57107 may remove much more code from the deprecated MagpieRSS file.

 If the no-op plan is delayed or undesired, there would be a small value in
 removing those 'commented out' lines with obsolete error functions:
 [https://github.com/WordPress/wordpress-
 develop/blob/c9ff475e1fe63de1356bc6a3792e6fd836a8c587/src/wp-
 includes/rss.php#L414 line 414]
 [https://github.com/WordPress/wordpress-
 develop/blob/c9ff475e1fe63de1356bc6a3792e6fd836a8c587/src/wp-
 includes/rss.php#L426 line 426]
 [https://github.com/WordPress/wordpress-
 develop/blob/c9ff475e1fe63de1356bc6a3792e6fd836a8c587/src/wp-
 includes/rss.php#L527-L528 lines 527 to 528]
 [https://github.com/WordPress/wordpress-
 develop/blob/c9ff475e1fe63de1356bc6a3792e6fd836a8c587/src/wp-
 includes/rss.php#L624 line 624]

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


More information about the wp-trac mailing list