WordPress.org

Make WordPress Core

Ticket #14789: 14789.patch

File 14789.patch, 701 bytes (added by hakre, 4 years ago)
  • wp-includes/plugin.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    198198        // Do 'all' actions first 
    199199        if ( isset($wp_filter['all']) ) { 
    200200                $all_args = func_get_args(); 
     201                $all_args = array_merge( array(array_shift( $all_args )), $all_args ); 
    201202                _wp_call_all_hook($all_args); 
    202203        } 
    203204 
     
    451452        // Do 'all' actions first 
    452453        if ( isset($wp_filter['all']) ) { 
    453454                $all_args = func_get_args(); 
     455                $all_args = array_merge( array(array_shift( $all_args )), $all_args ); 
    454456                _wp_call_all_hook($all_args); 
    455457        } 
    456458