Adjust for obsolete msgid parameter

The callback function is now passes as argument 2 rather than 3 since the msgid parameter has been removed.

Jira issue: wp-956