- Don’t use both
wp_login()
andwp_signon()
. They do the same thing, but first one is deprecated - Use the 2.8 widget API
- Put
wp_signon()
inside a function that you hook on theinit
tag (You can handle the errors in thewidget()
function)
wp_login()
and wp_signon()
. They do the same thing, but first one is deprecatedwp_signon()
inside a function that you hook on the init
tag (You can handle the errors in the widget()
function)