Changeset 2320865
- Timestamp:
- 06/09/2020 01:01:43 PM (6 years ago)
- Location:
- simple-custom-css
- Files:
-
- 29 added
- 2 edited
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/simple-custom-css.php (modified) (3 diffs)
-
versions/4.0.4 (added)
-
versions/4.0.4/LICENSE (added)
-
versions/4.0.4/assets (added)
-
versions/4.0.4/assets/banner-1544x500.jpg (added)
-
versions/4.0.4/assets/banner-772x250.jpg (added)
-
versions/4.0.4/assets/icon-128x128.jpg (added)
-
versions/4.0.4/assets/icon-256x256.jpg (added)
-
versions/4.0.4/assets/screenshot-1.png (added)
-
versions/4.0.4/assets/screenshot-2.png (added)
-
versions/4.0.4/codemirror (added)
-
versions/4.0.4/codemirror/codemirror-css-lint.js (added)
-
versions/4.0.4/codemirror/codemirror-lint.js (added)
-
versions/4.0.4/codemirror/codemirror.js (added)
-
versions/4.0.4/codemirror/codemirror.min.css (added)
-
versions/4.0.4/codemirror/css.js (added)
-
versions/4.0.4/codemirror/csslint.js (added)
-
versions/4.0.4/includes (added)
-
versions/4.0.4/includes/admin.php (added)
-
versions/4.0.4/includes/css (added)
-
versions/4.0.4/includes/css/editor.css (added)
-
versions/4.0.4/includes/customizer.php (added)
-
versions/4.0.4/includes/js (added)
-
versions/4.0.4/includes/js/editor.js (added)
-
versions/4.0.4/includes/public.php (added)
-
versions/4.0.4/languages (added)
-
versions/4.0.4/languages/simple-custom-css-da_DK.mo (added)
-
versions/4.0.4/languages/simple-custom-css-da_DK.po (added)
-
versions/4.0.4/readme.txt (added)
-
versions/4.0.4/simple-custom-css.php (added)
Legend:
- Unmodified
- Added
- Removed
-
simple-custom-css/trunk/readme.txt
r2179460 r2320865 4 4 Tags: css, styles, custom css, custom, code, editor, codemirror 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 36 Tested up to: 5.4.1 7 7 Stable tag: trunk 8 8 License: GPLv2 or later … … 15 15 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. 16 16 17 ** New in Version 4.0.2 ** 18 - Uses native WP CodeMirror on settings page (Does not load unnecessary scripts) 19 - Tested for WP version 5.1.1 20 - Tested for PHP version 7.2 17 ** New in Version 4.0.4 ** 18 - Tested for WP version 5.4.1 21 19 22 20 **Features** … … 27 25 - No configuration needed 28 26 - Simple interface built on native WordPress UI 29 - Virtually no impact on site performance 27 - Uses native WP CodeMirror on settings page (Does not load unnecessary scripts) 28 - Supports PHP 7.2 30 29 - No complicated database queries 31 30 - Thorough documentation … … 166 165 == Upgrade Notice == 167 166 167 = 4.0.4 = 168 Tested for compatibility with WP 5.4.1. 169 168 170 = 4.0.2 = 169 171 Tested for compatibility with WP 5.1.1/PHP 7.2. Use native WP CodeMirror. -
simple-custom-css/trunk/simple-custom-css.php
r2179460 r2320865 6 6 * Author: John Regan, Danny Van Kooten 7 7 * Author URI: http://johnregan3.me 8 * Version: 4.0. 38 * Version: 4.0.4 9 9 * Text Domain: simple-custom-css 10 10 * 11 * Copyright 2014-20 19John Regan (email : john@johnregan3.com)11 * Copyright 2014-2020 John Regan (email : john@johnregan3.com) 12 12 * 13 13 * This program is free software; you can redistribute it and/or modify … … 25 25 * 26 26 * @package SCCSS 27 * @author John Regan28 * @version 4.0. 327 * @author John Regan 28 * @version 4.0.4 29 29 */ 30 30 … … 33 33 // Prevent direct file access. 34 34 if ( ! defined( 'ABSPATH' ) ) { 35 die();35 die(); 36 36 } 37 37 38 define( 'SCCSS_FILE', __FILE__ );38 define( 'SCCSS_FILE', __FILE__); 39 39 define( 'SCCSS_OPTION', 'sccss_settings' ); 40 40 41 41 if ( ! is_admin() ) { 42 require_once dirname( SCCSS_FILE) . '/includes/public.php';42 include_once dirname(SCCSS_FILE) . '/includes/public.php'; 43 43 } elseif ( ! defined( 'DOING_AJAX' ) ) { 44 require_once dirname( SCCSS_FILE) . '/includes/admin.php';44 include_once dirname(SCCSS_FILE) . '/includes/admin.php'; 45 45 } 46 46 47 47 // Load the customizer control on later versions of WP. 48 48 if ( version_compare( $wp_version, 4.9 ) >= 0 ) { 49 require_once dirname( SCCSS_FILE ) . '/includes/customizer.php';49 include_once dirname( SCCSS_FILE ) . '/includes/customizer.php'; 50 50 } 51 51
Note: See TracChangeset
for help on using the changeset viewer.