Plugin interferes with esc_url() protocols

This issue is related to the rtMedia for WordPress, BuddyPress and bbPress plugin version 3.7

Right now I am altering the accepted protocols array with a filter called ‘kses_allowed_protocols’. One of my custom protocols is returning an empty string when using the esc_url function. When I disable this plugin, the protocols work and the string is not empty.

Whereabouts in the plugin does it interfere with the protocols filter or the esc_url function?

I don’t necessarily need a solution but if you point me in the right direction that would be helpful.

Thanks, Joe

Hi Joe,

rtMedia doesn’t use either of the kses_allowed_protocols or clean_url filter used by wp_allowed_protocols and esc_url function. I don’t how it can create a conflict with custom protocol. Can you give me some more details what exactly you trying to achieve? A sample code will be helpful to understand.