semiologic external-links plugin on localhost
-
When you are running wordpress on localhost this plugin is not working. The following modification to the code fixes the problem:
Change
if ( preg_match("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/", $_SERVER['HTTP_HOST']))
at the beginning of the code to
if ( preg_match("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/", $_SERVER['HTTP_HOST']) || !strpos($_SERVER['HTTP_HOST'], '.'))
Hope this helps.
Thanks and Regards
KD
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘semiologic external-links plugin on localhost’ is closed to new replies.