Plugin Directory

Changeset 2160422


Ignore:
Timestamp:
09/21/2019 03:17:21 AM (7 years ago)
Author:
astavelopment
Message:

fixing issues on admin end with gutenberg editor

Location:
asta-html-minifier
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • asta-html-minifier/trunk/asta-html-minifier.php

    r2084210 r2160422  
    55Plugin URI: https://www.astavelopment.ca?utm_medium=plugin&utm_source=wordpress&utm_campaign=asta-html-minifier&utm_term=plugin
    66Description: Improve your website's overall performance by stripping away all extra white space and HTML comments in your HTML output across your entire website.
    7 Version: 1.0.1
     7Version: 1.0.2
    88Author: Astavelopment
    99Author URI: http://www.astavelopment.ca?utm_medium=plugin&utm_source=wordpress&utm_campaign=asta-html-minifier&utm_term=author
     
    1616    // constructor function
    1717    function __construct(){
    18         // adding hooks to connect with HTML output
    19         add_action('wp_loaded', array('AstaHtmlMinifier', 'buffer_start'));
    20         add_action('shutdown', array('AstaHtmlMinifier', 'buffer_end'));
     18        // check if admin is not displayed
     19        if(!is_admin()){
     20            // adding hooks to connect with HTML output
     21            add_action('wp_loaded', array('AstaHtmlMinifier', 'buffer_start'));
     22            add_action('shutdown', array('AstaHtmlMinifier', 'buffer_end'));
     23        }
     24
    2125    }
    2226
  • asta-html-minifier/trunk/readme.txt

    r2084210 r2160422  
    7474* Fixing issues in readme file
    7575
     76= 1.0.2 =
     77* Fixing bug with Gutenberg editor by disabling minify HTML in admin sections
     78
    7679
    7780
     
    8487* Now you can enjoy this plugin on any Wordpress installation from version 4.0.26 until the latest release 5.2
    8588* Now you can install this on any version of PHP greater than 5.6.30
     89
     90= 1.0.2 =
     91* Enjoy this plugin with new Gutenberg editor
Note: See TracChangeset for help on using the changeset viewer.