WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #7784, comment 4


Ignore:
Timestamp:
11/07/2011 04:50:28 PM (7 years ago)
Author:
crazycoders
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7784, comment 4

    v1 v2  
    44
    55A clean way to do this would be to change line 486 of "wp-includes/plugin.php"
     6
    67from:
     8
    79call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
     10
    811to:
     12
    913call_user_func_array($the_['function'], $args);
    1014