WordPress.org

Make WordPress Core

Ticket #46047: 46069.patch

File 46069.patch, 1.1 KB (added by sebastian.pisula, 13 months ago)
  • wp-settings.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    2323require( ABSPATH . WPINC . '/default-constants.php' );
    2424require_once( ABSPATH . WPINC . '/plugin.php' );
    2525
    26 // Make sure we register the shutdown handler for fatal errors as soon as possible.
    27 wp_register_fatal_error_handler();
    28 
    2926/*
    3027 * These can't be directly globalized in version.php. When updating,
    3128 * we're including version.php from another installation and don't want
     
    4643// Set initial default constants including WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, WP_DEBUG, SCRIPT_DEBUG, WP_CONTENT_DIR and WP_CACHE.
    4744wp_initial_constants();
    4845
     46// Make sure we register the shutdown handler for fatal errors as soon as possible.
     47wp_register_fatal_error_handler();
     48
    4949// Check for the required PHP version and for the MySQL extension or a database drop-in.
    5050wp_check_php_mysql_versions();
    5151