WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Better WordPress Minify] Add filter to provide access to Minify's serve() options

[Resolved] [Plugin: Better WordPress Minify] Add filter to provide access to Minify's serve() options

Viewing 5 replies - 1 through 5 (of 5 total)
  • Durrr. I just realized you just answered this in the last thread,

    http://wordpress.org/support/topic/plugin-better-wordpress-minify-maxage

    Thanks,
    -S

    After digesting that previous thread, I’m not satisfied with that resolution. It requires that I define(‘MINIFY_MIN_DIR’) to something else. But when my code encounters your define(‘MINIFY_MIN_DIR’), it doesn’t first check if MINIFY_MIN_DIR is previously defined. It will throw messages I don’t want.

    My first request is that you add a filter to $min_serveOptions inside the if (isset($_GET[‘f’])).

    Plugin Author Khang Minh

    @oddoneout

    Hi Scott,

    You do not have to define that CONSTANT, all you have to do is moving that min folder to a place you like, and edit the config.php file.

    Hope that helps.

    I don’t understand what you mean by moving that folder. If I move the /min/ folder, I have to edit the plugin to indicate the new location of the folder. That edit will also be overwritten with plugin updates, like it was today.

    Could you please give me more detailed steps on how you see we could modify that maxAge value without losing upgradability?

    Thanks,
    -Scott

    Plugin Author Khang Minh

    @oddoneout

    You don’t have to edit the plugin to indicate the new location of the folder, there’s an option in the admin called Min URL.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: Better WordPress Minify] Add filter to provide access to Minify's serve() options’ is closed to new replies.