Plugin Directory

Changeset 2947099


Ignore:
Timestamp:
08/03/2023 10:55:09 AM (3 years ago)
Author:
wowholic
Message:

Update cleanup

Location:
wowholic-core/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wowholic-core/trunk/includes/actions/cleanup.php

    r2645312 r2947099  
    66    // Launching operation cleanup.
    77    add_action( 'init', 'wowcore_cleanup_head' );
     8
     9    // Remove global styles and SVG filters
     10    add_action( 'init', 'wowcore_remove_global_style_and_svg_filters' );
    811
    912    // Remove WP version from RSS.
     
    1922    add_action( 'wp_enqueue_scripts', 'wowcore_remove_wp_block_library_css' );
    2023
     24    // Cleanup head
    2125    function wowcore_cleanup_head() {
    2226        // EditURI link.
     
    5155    }
    5256
     57    // Remove global styles and SVG filters
     58    function wowcore_remove_global_style_and_svg_filters() {
     59        if ( wowcore_is_plugin_active_by_slug( 'classic-editor' ) ) {
     60            remove_action( 'wp_enqueue_scripts', 'wp_enqueue_global_styles' );
     61            remove_action( 'wp_body_open', 'wp_global_styles_render_svg_filters' );
     62        }
     63    }
     64
    5365    // Remove injected CSS for recent comments widget.
    5466    function wowcore_remove_wp_widget_recent_comments_style() {
  • wowholic-core/trunk/readme.txt

    r2866428 r2947099  
    77Requires at least: 5.6
    88Tested up to: 6.1
    9 Stable tag: 1.0.6
     9Stable tag: 1.0.7
    1010Requires PHP: 7.0
    1111
     
    7777== Changelog ==
    7878
     79= 1.0.7 =
     80Release Date: August 3rd, 2023
     81
     82= 1.0.6 =
     83Release Date: February 16th, 2023
     84
    7985= 1.0.5 =
    8086Release Date: November 3rd, 2022
  • wowholic-core/trunk/wowholic-core.php

    r2866428 r2947099  
    44 * Plugin URI: https://github.com/Wowholic/CORE
    55 * Description: Utility functions and options for common tasks in WordPress.
    6  * Version: 1.0.6
     6 * Version: 1.0.7
    77 * Author: Wowholic
    88 * Author URI: https://wowholic.com
Note: See TracChangeset for help on using the changeset viewer.