wrong urls in menu
-
when you have wordpress behind proxy, menu items in the top menu of ad-inserter are incorrect.
this is because *incorectly* there is *wrong* function
remove_parameters_from_urlwhich is calling even worst onecurrent_url.why this is wrong? because plugin is trying to build an url from other data, which may not be correct when there are reverse proxies used for wordpress.
this has an impact on both single- and multi-site installations.
fixes? yes
best one: use wordpress’esremove_query_arg
so so: removecurrent_urland use$_SERVER["REQUEST_URI"]workaround:
function current_url () { return $_SERVER["REQUEST_URI"]; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘wrong urls in menu’ is closed to new replies.