Changeset 2795193
- Timestamp:
- 10/06/2022 02:32:29 PM (3 years ago)
- Location:
- simple-custom-css/trunk
- Files:
-
- 3 edited
-
includes/admin.php (modified) (1 diff)
-
readme.md (modified) (5 diffs)
-
simple-custom-css.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-custom-css/trunk/includes/admin.php
r2179460 r2795193 179 179 <?php submit_button( __( 'Update Custom CSS', 'simple-custom-css' ), 'primary', 'submit', true ); ?> 180 180 181 <?php if ( sccss_wp_codemirror_available() ) : ?>181 <?php if ( function_exists( 'wp_is_block_theme' ) && ! wp_is_block_theme() ) : ?> 182 182 <p class="description"> 183 183 <?php -
simple-custom-css/trunk/readme.md
r2620774 r2795193 1 1 # Simple Custom CSS Plugin 2 2 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.18 Stable tag: trunk 9 License: GPLv2 or later 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 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, amp, wp-amp 6 Requires at least: 3.0.1 7 Tested up to: 6.1 8 Stable tag: trunk 9 License: GPLv2 or later 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 11 12 12 ## Description … … 14 14 Add Custom CSS to your WordPress site without any hassles. 15 15 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 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.6** 19 20 * Removes Customizer features when using a Block Theme. 21 * Tested for WP version 6.1 22 * Tested for PHP 8.1 22 23 23 24 **About AMP Support** 24 25 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.26 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. 26 27 27 28 ### Features … … 83 84 ## Changelog 84 85 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 85 91 ***4.0.5*** 86 92 * AMP Support. Thanks, @westonruter! … … 160 166 ...even though no css file is actually generated. 161 167 162 ***1.0*** 168 ***1.0*** 163 169 * Initial Release 164 170 … … 166 172 ## Upgrade Notice 167 173 168 ***4.0.5*** 174 ***4.0.6*** 175 Tested for compatibility with WP 6.1/PHP 8.1. Remove Customizer features when using Block Themes. 176 177 ***4.0.5*** 169 178 Added AMP Support. Tested for compatibility with WP 5.4.1. 170 179 171 ***4.0.4*** 180 ***4.0.4*** 172 181 Tested for compatibility with WP 5.4.1. 173 182 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*** 184 Tested for compatibility with WP 5.1.1/PHP 7.2. Use native WP CodeMirror. 185 186 ***4.0.1*** 178 187 Settings page style fixes for older versions of WP. 179 188 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 queries188 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*** 190 Tested for compatibility with WP 4.9.4. Added Customizer support. 191 192 ***3.3*** 193 Tested for compatibility with WP 4.4.1. Added support for http://. 194 195 ***3.2*** 196 Tested for compatibility with WP 4.1. Improved architecture to reduce the number of queries 197 198 ***3.0.1*** 199 Tested for compatibility with WP 3.9.1. Sidebar "Update CSS" button added. 200 201 ***3.0*** 193 202 Added new Syntax highlighter, removed attribution text and need for "Allow Quotation Marks" option. 194 203 195 ***2.5*** 196 Fixed issue with WP installs in subdirectories. Thanks @lopo!197 198 ***2.0*** 204 ***2.5*** 205 Fixed issue with WP installs in subdirectories. Thanks @lopo! 206 207 ***2.0*** 199 208 Now SCCSS gives you the option to allow Double Quotes! 200 209 201 ***1.2.1*** 210 ***1.2.1*** 202 211 Compatibility with WP 3.7.1, code update to conform with WP coding standards. 203 212 204 ***1.2*** 213 ***1.2*** 205 214 Give Admins (not just Super Admins) access to the plugin & Correcting Credit error. 206 215 207 ***1.1.1*** 216 ***1.1.1*** 208 217 Allowing the ">" direct child selector. 209 218 210 ***1.1*** 219 ***1.1*** 211 220 Changed method for inserting CSS, added support for cleanup on deletion, other minor changes. 212 221 213 ***1.0*** 222 ***1.0*** 214 223 Inital Release 215 224 -
simple-custom-css/trunk/simple-custom-css.php
r2620774 r2795193 6 6 * Author: John Regan 7 7 * Author URI: http://regan.dev 8 * Version: 4.0. 58 * Version: 4.0.6 9 9 * Text Domain: simple-custom-css 10 10 * 11 * Copyright 2014-202 1John Regan (email : john@johnregan3.com)11 * Copyright 2014-2022 John Regan (email : john@johnregan3.com) 12 12 * 13 13 * This program is free software; you can redistribute it and/or modify … … 26 26 * @package SCCSS 27 27 * @author John Regan 28 * @version 4.0. 528 * @version 4.0.6 29 29 */ 30 30 … … 46 46 47 47 // Load the customizer control on later versions of WP. 48 if ( version_compare( $wp_version, 4.9 ) >= 0) {48 if ( function_exists( 'wp_is_block_theme' ) && ! wp_is_block_theme() ) { 49 49 include_once dirname( SCCSS_FILE ) . '/includes/customizer.php'; 50 50 }
Note: See TracChangeset
for help on using the changeset viewer.