WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
WP-Minify incompatibility with jason-api (4 posts)

  1. archon810
    Member
    Posted 3 years ago #

    WP-Minify's HTML minification breaks json-api as it stops validating and many line breaks appear. I'm contacting both authors to have a discussion here. It could be as easy as disabling a filter somewhere.

  2. dphiffer
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for the heads up, I'll take a look!

  3. archon810
    Member
    Posted 3 years ago #

    I ended up putting in /api/ into the list of ignored paths for WP-Minify, which worked well as a workaround. I've also alerted Thaya, the plugin author, who will be taking a look to see if it's possible to not minify certain MIME types.

  4. dphiffer
    Member
    Plugin Author

    Posted 3 years ago #

    Okay, if that doesn't pan out I can check for WP-Minify on my end. I have some other minor fixes I want to release in the next week or two and it'd be easy enough to include a workaround.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags