id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 16858,Usage of HTTP_HOST in the administration,amirhabibi,dd32,"In some files like wp-admin/includes/class-wp-list-table.php (there are more files I think), some links are created by using the HTTP_HOST variable. It's better to use the defined wordpress URL to create those links. In our case, we have a wordpress running behind a Squid cache. When you check for HTTP_HOST you get the *real* HOST and not the one with the Squid server. To bypass the problem, I added in the main config.php a line like this : {{{ $_SERVER['HTTP_HOST'] = 'www.my-visible-http-host.com'; }}} Without this setting and in our case, some links in the admin (next, previous page, re-ordering...) where pointing to the wrong server. ",defect (bug),reviewing,normal,Awaiting Review,Administration,3.1,normal,,has-patch needs-refresh,,