WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49050, comment 3


Ignore:
Timestamp:
12/20/2019 12:17:45 AM (2 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49050, comment 3

    initial v1  
    11The `function_exists( 'getenv' )` check in [source:tags/5.3.2/tests/phpunit/includes/abstract-testcase.php?marks=189-192#L182 line 190] also seems redundant, as we already have two other instances of `getenv()` without that check in [source:tags/5.3.2/tests/phpunit/includes/bootstrap.php?marks=82,99#L76 lines 82 and 99] of `includes/bootstrap.php`.
     2
     3WordPress core also uses it without checking in [source:tags/5.3.2/src/wp-includes/functions.php?marks=7112#L7107 wp_get_update_php_url()] and [source:tags/5.3.2/src/wp-includes/functions.php?marks=7212#L7208 wp_get_direct_php_update_url()].