Make WordPress Core


Ignore:
Timestamp:
04/29/2013 01:25:15 PM (11 years ago)
Author:
nacin
Message:

delete_user_setting() and remove_action() were getting called with too many args. props rlerdorf. see #24210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r23524 r24125  
    9090    $hook = 'do_feed_' . $feedname;
    9191    // Remove default function hook
    92     remove_action($hook, $hook, 10, 1);
     92    remove_action($hook, $hook);
    9393    add_action($hook, $function, 10, 1);
    9494    return $hook;
Note: See TracChangeset for help on using the changeset viewer.