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

WordPress Trac noreply at wordpress.org
Sat Dec 30 23:05:29 UTC 2023


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

 * keywords:  2nd-opinion close =>
 * status:  new => closed
 * resolution:   => wontfix
 * severity:  minor => trivial
 * milestone:  Awaiting Review =>


Comment:

 I agree to close because its value is so low, though I uploaded a patch to
 show the small change I suggested in case someone thinks it //is// worth
 the changeset.

 Of course, the code would be much cleaner than that if functions such as
 `fetch_rss()` and `_response_to_rss()` simply would return `false` (or
 have some other no-op method).

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


More information about the wp-trac mailing list