In dpa_verify_nonce_request(), add support for local installations that include a port in home_url()

Ported from bbPress revision 5029
Improve the flexibility of dpa_title() by allowing all data to be filtered.

Ported from bbPres revision 5018