WordPress.org

Make WordPress Core

Ticket #18914: revert-r18887.diff

File revert-r18887.diff, 479 bytes (added by duck_, 10 years ago)
  • wp-admin/includes/plugin.php

     
    16051605
    16061606        $new_whitelist_options[ $option_group ][] = $option_name;
    16071607        if ( $sanitize_callback != '' )
    1608                 add_filter( "sanitize_option_{$option_name}", $sanitize_callback, 10, 2 );
     1608                add_filter( "sanitize_option_{$option_name}", $sanitize_callback );
    16091609}
    16101610
    16111611/**