WordPress.org

Support

Support » Plugins and Hacks » WP Minify » [Plugin: WP Minify] [FIX] pretty URL broken

[Plugin: WP Minify] [FIX] pretty URL broken

  • I found the cached file contains:

    400 Bad Request

    It’s caused by feeding bad url to curl,
    here is my fix:

    --- wp-minify.php.orig
    +++ wp-minify.php
    @@ -605,6 +605,8 @@
         $wpm_options = get_option($this->name);
         $cached_urls = array();
         foreach ($urls as $url) {
    +      // FIXED: curl doesn't decode html entity url
    +      $url = html_entity_decode($url);
           $cache_file = $this->c->get_plugin_dir().'cache/'.md5($url).$type;
           if (file_exists($cache_file)) {
             // check cache expiration

    http://wordpress.org/extend/plugins/wp-minify/

  • The topic ‘[Plugin: WP Minify] [FIX] pretty URL broken’ is closed to new replies.
Skip to toolbar