WordPress.org

Make WordPress Core

Ticket #16768: 16768.4.patch

File 16768.4.patch, 489 bytes (added by hakre, 7 years ago)

cache.php constructor; originating by hakre @ #10861

  • wp-includes/cache.php

     
    457457        }
    458458
    459459        /**
    460          * PHP4 constructor; Calls PHP 5 style constructor
    461          *
    462          * @since 2.0.0
    463          *
    464          * @return WP_Object_Cache
    465          */
    466         function WP_Object_Cache() {
    467                 return $this->__construct();
    468         }
    469 
    470         /**
    471460         * Sets up object properties; PHP 5 style constructor
    472461         *
    473462         * @since 2.0.8