?lang=[code]&bpml_filter=true is added to all ajax urls except for heartbeat.
The problem is that it adds question mark with these parameters if AJAX URL also have some parameters then parameters get disturbed.
For Example in Compose message, when i type friends name then nothing returns, then I check console and parameters were passing like this:
Here, Question mark is repeating twice causing
true?q=aaqas a value
bpml_filterparameter instead of sending
qas a separate parameter.
I checked, you are using
bp_core_ajax_urlfilter to achieve this. I think you should use some different approach.
WP 4.7; BP 2.7.3; WPML 3.6.2; BPML 220.127.116.11
- The topic ‘bpml_filter with question mark is added to all ajax request’ is closed to new replies.