WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed the Deprecated Calls plugin and it's telling me to change register_sidebar_widget() and register_widget_control(), essentially add wp_ first.

I did but I'm getting Missing argument 3 for wp_register_sidebar_widget() and wp_register_widget_control()

Is it ok if I put the default none for the 3rd arg?

share|improve this question
up vote 3 down vote accepted

The signature of newer function is different:

Can't simply replace one function with another here, need to re-order arguments accordingly.

share|improve this answer
Thanks for the reply! I have my function like this wp_register_sidebar_widget('w', 'my_widget'); so I guess I'll have to add an id now. – wpStudent Dec 2 '10 at 16:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.