WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49922, comment 11


Ignore:
Timestamp:
05/27/2020 10:51:55 PM (5 months ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49922, comment 11

    initial v1  
    33
    44The `$php_errormsg` variable is set within the current scope after an error occurs. Given this check is on the first line of the function, and therefore the first line of the scope, I can't see how this variable will ever exist at this point. It looks safe to remove both instances of the handling of `$php_errormsg` here.
     5
     6Edit: Note that the definition of `RSSCache::debug()` is indented incorrectly which might confuse you for a few moments when following the code flow here.