Make WordPress Core

Ticket #41615: 41615.diff

File 41615.diff, 680 bytes (added by neoxx, 7 years ago)
  • cache.php

     
    701701        }
    702702
    703703        /**
    704          * Sets up object properties; PHP 5 style constructor.
     704         * Sets up object properties; constructor.
    705705         *
    706706         * @since 2.0.8
    707707         */
     
    708708        public function __construct() {
    709709                $this->multisite = is_multisite();
    710710                $this->blog_prefix =  $this->multisite ? get_current_blog_id() . ':' : '';
    711 
    712 
    713                 /**
    714                  * @todo This should be moved to the PHP4 style constructor, PHP5
    715                  * already calls __destruct()
    716                  */
    717                 register_shutdown_function( array( $this, '__destruct' ) );
    718711        }
    719712
    720713        /**