|
Spaetsommerkind
zegt
|
|
|
|
|
Spaetsommerkind zegt:Now I've added another stnietg in the options page of the plugin. There you can define a string to bypass the authentication for special search strings. My string is: feed=comments-rss2, feed=rss2In the basic-authentication.php I changed my code to// check if allowed site is requested$arr = explode( , ,get_option( basic_authentication_allowed_sites', ));foreach ($arr as $key => $value) {$pos = strpos($_SERVER['REQUEST_URI'], trim($value));if ($pos !== false) {return;}}So I freed my feeds from authentication. Do you have a better idea?
|
|
|
|
|
|
|
|
|
(VISITOR) AUTHOR'S NAME Kornelia
MESSAGE TIMESTAMP 16 december 2014, 23:01:05
AUTHOR'S IP LOGGED 62.210.78.179
|
|
|
|