Make WordPress Core

Ticket #48116: 48116.2.diff

File 48116.2.diff, 877 bytes (added by adamsilverstein, 4 years ago)
  • src/wp-includes/update.php

    diff --git a/src/wp-includes/update.php b/src/wp-includes/update.php
    index d4b538e29d..57febc69db 100644
    a b function wp_version_check( $extra_stats = array(), $force_check = false ) { 
    102102                'users'              => $user_count,
    103103                'multisite_enabled'  => $multisite_enabled,
    104104                'initial_db_version' => get_site_option( 'initial_db_version' ),
     105                'extensions'         => array_combine( get_loaded_extensions(), array_map( 'phpversion', get_loaded_extensions() ) ),
     106                'platform_flags'     => array(
     107                        'os'   => defined( 'PHP_OS_FAMILY' ) ? PHP_OS_FAMILY : PHP_OS,
     108                        'bits' => PHP_INT_SIZE === 4 ? 32 : 64,
     109                ),
     110                'gd_info'            => extension_loaded( 'gd' ) ? gd_info() : array(),
     111                'imagick_info'       => extension_loaded( 'imagick' ) ? Imagick::queryFormats() : array(),
    105112        );
    106113
    107114        /**