wp_nonce_field() passes unnecessary argument
|Reported by:||TobiasBg||Owned by:|
wp_nonce_field() passes a second argument (with the value 'previous') to the function wp_referer_field(). However, that function only expects one parameter, so the second one is obsolete and should be removed.
Attached patch removes the unnecessary argument. It is the only occurance (of two total) in core where wp_referer_field() gets passed two parameters.