Make WordPress Core

Ticket #44445: 44445-remove-call.patch

File 44445-remove-call.patch, 676 bytes (added by MikeSchinkel, 6 years ago)

This patch removes the call to register_shutdown_function().

  • wp-includes/cache.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    735735        public function __construct() {
    736736                $this->multisite   = is_multisite();
    737737                $this->blog_prefix = $this->multisite ? get_current_blog_id() . ':' : '';
    738 
    739                 /**
    740                  * @todo This should be moved to the PHP4 style constructor, PHP5
    741                  * already calls __destruct()
    742                  */
    743                 register_shutdown_function( array( $this, '__destruct' ) );
    744738        }
    745739
    746740        /**