Plugin Directory

Changeset 2320865


Ignore:
Timestamp:
06/09/2020 01:01:43 PM (6 years ago)
Author:
johnregan3
Message:

Version 4.0.4, supports WP 5.4.1

Location:
simple-custom-css
Files:
29 added
2 edited

Legend:

Unmodified
Added
Removed
  • simple-custom-css/trunk/readme.txt

    r2179460 r2320865  
    44Tags: css, styles, custom css, custom, code, editor, codemirror
    55Requires at least: 3.0.1
    6 Tested up to: 5.3
     6Tested up to: 5.4.1
    77Stable tag: trunk
    88License: GPLv2 or later
     
    1515An 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.
    1616
    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
    2119
    2220**Features**
     
    2725- No configuration needed
    2826- 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
    3029- No complicated database queries
    3130- Thorough documentation
     
    166165== Upgrade Notice ==
    167166
     167= 4.0.4 =
     168Tested for compatibility with WP 5.4.1.
     169
    168170= 4.0.2 =
    169171Tested for compatibility with WP 5.1.1/PHP 7.2.  Use native WP CodeMirror.
  • simple-custom-css/trunk/simple-custom-css.php

    r2179460 r2320865  
    66 * Author: John Regan, Danny Van Kooten
    77 * Author URI: http://johnregan3.me
    8  * Version: 4.0.3
     8 * Version: 4.0.4
    99 * Text Domain: simple-custom-css
    1010 *
    11  * Copyright 2014-2019  John Regan  (email : john@johnregan3.com)
     11 * Copyright 2014-2020  John Regan  (email : john@johnregan3.com)
    1212 *
    1313 * This program is free software; you can redistribute it and/or modify
     
    2525 *
    2626 * @package SCCSS
    27  * @author John Regan
    28  * @version 4.0.3
     27 * @author  John Regan
     28 * @version 4.0.4
    2929 */
    3030
     
    3333// Prevent direct file access.
    3434if ( ! defined( 'ABSPATH' ) ) {
    35     die();
     35    die();
    3636}
    3737
    38 define( 'SCCSS_FILE', __FILE__ );
     38define( 'SCCSS_FILE', __FILE__);
    3939define( 'SCCSS_OPTION', 'sccss_settings' );
    4040
    4141if ( ! is_admin() ) {
    42     require_once dirname( SCCSS_FILE ) . '/includes/public.php';
     42    include_once dirname(SCCSS_FILE) . '/includes/public.php';
    4343} elseif ( ! defined( 'DOING_AJAX' ) ) {
    44     require_once dirname( SCCSS_FILE ) . '/includes/admin.php';
     44    include_once dirname(SCCSS_FILE) . '/includes/admin.php';
    4545}
    4646
    4747// Load the customizer control on later versions of WP.
    4848if ( 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';
    5050}
    5151
Note: See TracChangeset for help on using the changeset viewer.