WordPress.org

Make WordPress Core

Ticket #15335: 15335.diff

File 15335.diff, 486 bytes (added by solarissmoke, 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 );
     1608                add_filter( "sanitize_option_{$option_name}", $sanitize_callback, $option_name );
    16091609}
    16101610
    16111611/**