• Resolved Viktor Szépe

    (@szepeviktor)


    Good morning!
    Some corrections to your plugin.

    hyper-cache/cache.php:157
    if (isset($_SERVER[‘HTTP_ACCEPT_ENCODING’]) && strpos($_SERVER[‘HTTP_ACCEPT_ENCODING’]

    :128
    if (isset($hyper_data[‘location’]) && $hyper_data[‘location’]) {

    :39
    :318
    $hyper_agent = isset($_SERVER[‘HTTP_USER_AGENT’])? strtolower($_SERVER[‘HTTP_USER_AGENT’]) : ”;

    Thank you!

    http://wordpress.org/extend/plugins/hyper-cache/

Viewing 4 replies - 1 through 4 (of 4 total)
  • mbrsolution

    (@mbrsolution)

    Thank you kindly for your correction szepe.viktor. Since this is just a correction and it is not an issue any more. Could you close this thread as resolved unless you feel it needs to stay open.

    Thank you kindly.

    Thread Starter Viktor Szépe

    (@szepeviktor)

    I hope it gets into the next release.
    Using it on: online1.hu

    mbrsolution

    (@mbrsolution)

    Hello and sorry for the question. What exactly does your code do to improve the performance? I am currently learning more about php?

    Thread Starter Viktor Szépe

    (@szepeviktor)

    there are situations when there is no HTTP_ACCEPT_ENCODING or HTTP_USER_AGENT header in the HTTP request – e.g. robots
    in these cases those lines produce PHP notices

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘some corrections’ is closed to new replies.