WordPress.org

Make WordPress Core

Ticket #10861: 10861_wp-dependencies.patch

File 10861_wp-dependencies.patch, 627 bytes (added by hakre, 5 years ago)
  • wp-includes/class.wp-dependencies.php

     
    2525        var $groups = array(); 
    2626        var $group = 0; 
    2727 
    28         function WP_Dependencies() { 
    29                 $args = func_get_args(); 
    30                 call_user_func_array( array(&$this, '__construct'), $args ); 
    31         } 
     28        /** 
     29         * PHP4, PHP5 constructor 
     30         *  
     31         * this function's body is intentionally left blank. 
     32         */ 
     33        function WP_Dependencies() {} 
    3234 
    33         function __construct() {} 
    34  
    3535        /** 
    3636         * Do the dependencies 
    3737         *