Plugin Directory

Changeset 2795193


Ignore:
Timestamp:
10/06/2022 02:32:29 PM (3 years ago)
Author:
johnregan3
Message:

Update to Version 4.0.6

Location:
simple-custom-css/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • simple-custom-css/trunk/includes/admin.php

    r2179460 r2795193  
    179179                <?php submit_button( __( 'Update Custom CSS', 'simple-custom-css' ), 'primary', 'submit', true ); ?>
    180180
    181                 <?php if ( sccss_wp_codemirror_available() ) : ?>
     181                <?php if ( function_exists( 'wp_is_block_theme' ) && ! wp_is_block_theme() ) : ?>
    182182                    <p class="description">
    183183                        <?php
  • simple-custom-css/trunk/readme.md

    r2620774 r2795193  
    11# Simple Custom CSS Plugin
    22
    3 Contributors: johnregan3 
    4 Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BAG2XC69ZYADQ 
    5 Tags: css, styles, custom css, custom, code, editor, customizer 
    6 Requires at least: 3.0.1 
    7 Tested up to: 5.8.1 
    8 Stable tag: trunk 
    9 License: GPLv2 or later 
    10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     3Contributors: johnregan3
     4Donate Link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BAG2XC69ZYADQ
     5Tags: css, styles, custom css, custom, code, editor, customizer, amp, wp-amp
     6Requires at least: 3.0.1
     7Tested up to: 6.1
     8Stable tag: trunk
     9License: GPLv2 or later
     10License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    1212## Description
     
    1414Add Custom CSS to your WordPress site without any hassles.
    1515
    16 An easy-to-use WordPress Plugin to add custom CSS styles that override Plugin and Theme default styles. This plugin is designed to meet the needs of administrators who would like to add their own CSS to their WordPress website.  Styles created with this plugin will render even if the theme is changed.
    17 
    18 **New in Version 4.0.5**
    19 
    20 * AMP Support Added!
    21 * Tested for WP version 5.8.1
     16An easy-to-use WordPress Plugin to add custom CSS styles that override Plugin and Theme default styles. This plugin is designed to meet the needs of administrators who would like to add their own CSS to their WordPress website. Styles created with this plugin will render even if the theme is changed.
     17
     18**New in Version 4.0.6**
     19
     20* Removes Customizer features when using a Block Theme.
     21* Tested for WP version 6.1
     22* Tested for PHP 8.1
    2223
    2324**About AMP Support**
    2425
    25 This plugin no longer enqueues your saved styles in a "pseudo-file", but rather prints the styles directly into the `<head>` element.  This allows for better caching, and also processing by AMP plugins.
     26This plugin no longer enqueues your saved styles in a "pseudo-file", but rather prints the styles directly into the `<head>` element. This allows for better caching, and also processing by AMP plugins.
    2627
    2728### Features
     
    8384## Changelog
    8485
     86***4.0.6***
     87* Remove Customizer features when using a Block Theme. Props @tricarte
     88* Tested for compatibility with WP version 6.1
     89* Tested for compatibility with PHP 8.1
     90
    8591***4.0.5***
    8692* AMP Support. Thanks, @westonruter!
     
    160166...even though no css file is actually generated.
    161167
    162 ***1.0*** 
     168***1.0***
    163169* Initial Release
    164170
     
    166172## Upgrade Notice
    167173
    168 ***4.0.5*** 
     174***4.0.6***
     175Tested for compatibility with WP 6.1/PHP 8.1. Remove Customizer features when using Block Themes.
     176
     177***4.0.5***
    169178Added AMP Support. Tested for compatibility with WP 5.4.1.
    170179
    171 ***4.0.4*** 
     180***4.0.4***
    172181Tested for compatibility with WP 5.4.1.
    173182
    174 ***4.0.2*** 
    175 Tested for compatibility with WP 5.1.1/PHP 7.2.  Use native WP CodeMirror.
    176 
    177 ***4.0.1*** 
     183***4.0.2***
     184Tested for compatibility with WP 5.1.1/PHP 7.2. Use native WP CodeMirror.
     185
     186***4.0.1***
    178187Settings page style fixes for older versions of WP.
    179188
    180 ***4.0*** 
    181 Tested for compatibility with WP 4.9.4.  Added Customizer support.
    182 
    183 ***3.3*** 
    184 Tested for compatibility with WP 4.4.1.  Added support for http://.
    185 
    186 ***3.2*** 
    187 Tested for compatibility with WP 4.1.  Improved architecture to reduce the number of queries
    188 
    189 ***3.0.1*** 
    190 Tested for compatibility with WP 3.9.1.  Sidebar "Update CSS" button added.
    191 
    192 ***3.0*** 
     189***4.0***
     190Tested for compatibility with WP 4.9.4. Added Customizer support.
     191
     192***3.3***
     193Tested for compatibility with WP 4.4.1. Added support for http://.
     194
     195***3.2***
     196Tested for compatibility with WP 4.1. Improved architecture to reduce the number of queries
     197
     198***3.0.1***
     199Tested for compatibility with WP 3.9.1. Sidebar "Update CSS" button added.
     200
     201***3.0***
    193202Added new Syntax highlighter, removed attribution text and need for "Allow Quotation Marks" option.
    194203
    195 ***2.5*** 
    196 Fixed issue with WP installs in subdirectories.  Thanks @lopo!
    197 
    198 ***2.0*** 
     204***2.5***
     205Fixed issue with WP installs in subdirectories. Thanks @lopo!
     206
     207***2.0***
    199208Now SCCSS gives you the option to allow Double Quotes!
    200209
    201 ***1.2.1*** 
     210***1.2.1***
    202211Compatibility with WP 3.7.1, code update to conform with WP coding standards.
    203212
    204 ***1.2*** 
     213***1.2***
    205214Give Admins (not just Super Admins) access to the plugin & Correcting Credit error.
    206215
    207 ***1.1.1*** 
     216***1.1.1***
    208217Allowing the ">" direct child selector.
    209218
    210 ***1.1*** 
     219***1.1***
    211220Changed method for inserting CSS, added support for cleanup on deletion, other minor changes.
    212221
    213 ***1.0*** 
     222***1.0***
    214223Inital Release
    215224
  • simple-custom-css/trunk/simple-custom-css.php

    r2620774 r2795193  
    66 * Author: John Regan
    77 * Author URI: http://regan.dev
    8  * Version: 4.0.5
     8 * Version: 4.0.6
    99 * Text Domain: simple-custom-css
    1010 *
    11  * Copyright 2014-2021 John Regan  (email : john@johnregan3.com)
     11 * Copyright 2014-2022 John Regan  (email : john@johnregan3.com)
    1212 *
    1313 * This program is free software; you can redistribute it and/or modify
     
    2626 * @package SCCSS
    2727 * @author  John Regan
    28  * @version 4.0.5
     28 * @version 4.0.6
    2929 */
    3030
     
    4646
    4747// Load the customizer control on later versions of WP.
    48 if ( version_compare( $wp_version, 4.9 ) >= 0 ) {
     48if ( function_exists( 'wp_is_block_theme' ) && ! wp_is_block_theme() ) {
    4949    include_once dirname( SCCSS_FILE ) . '/includes/customizer.php';
    5050}
Note: See TracChangeset for help on using the changeset viewer.