6logics
Forum Replies Created
-
Sorry to disturb you again.
But I just found another bug due to this issue.
In groups, when you suggest user, ajaxurl is broken here to:admin-ajax.php?lang=en&bpml_filter=true?action=bp_group_admin_member_autocomplete&group_id=12File: wp-content\plugins\buddypress\bp-groups\admin\js\admin.js Line: 14So, you can’t change
ajaxurl. Whenever, someone usesajaxurl + '?someparam=someval'in JS file, the ajax request brokes.I think you need to fix this because whoever uses
ajaxurl + '?', the ajax request fails.And you are using
add_query_arg()inbp_core_ajax_urlfilter to modify ajaxurl throughout the site.I think, may be using bpml_filter and lang parameter as post parameter will be better.
Thank you Srdjan for your assistance!
Yes issue is in BuddyPress Global Search plugin. Thank you for your help. I will create support on that plugin form.
Thank you Srdjan for quick reply.
Yes, I am using some additional plugins and one of them is BuddyPress Global Search which is also adding parameter
search_termto this ajax request.Let me check if issue is caused by this plugin.
Regards,
M. Aaqib Khan