SiteOrigin CSS - Version 1.5.1

Version Description

  • 30 December 2021 =
  • Basic Editor Theme Setting: Updated field to show selected option.
Download this release

Release Info

Developer SiteOrigin
Plugin Icon 128x128 SiteOrigin CSS
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5.0 to 1.5.1

Files changed (3) hide show
  1. readme.txt +5 -2
  2. so-css.php +2 -2
  3. tpl/page.php +2 -2
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Tags: css, visual css, css editor, design, customize
3
  Requires at least: 3.9
4
  Tested up to: 5.8
5
- Stable tag: 1.5.0
6
- Build time: 2021-12-16T17:41:49+02:00
7
  License: GPLv2 or later
8
  Contributors: gpriday, alexgso
9
  Donate link: https://siteorigin.com/downloads/premium/
@@ -71,6 +71,9 @@ SiteOrigin Premium includes access to our professional email support service, pe
71
 
72
  == Changelog ==
73
 
 
 
 
74
  = 1.5.0 - 16 December 2021 =
75
  * Basic Editor: Added a dark theme option.
76
  * Ajax Saving: Resolved unintended slashes added during escaping.
2
  Tags: css, visual css, css editor, design, customize
3
  Requires at least: 3.9
4
  Tested up to: 5.8
5
+ Stable tag: 1.5.1
6
+ Build time: 2021-12-30T13:27:12+02:00
7
  License: GPLv2 or later
8
  Contributors: gpriday, alexgso
9
  Donate link: https://siteorigin.com/downloads/premium/
71
 
72
  == Changelog ==
73
 
74
+ = 1.5.1 - 30 December 2021 =
75
+ * Basic Editor Theme Setting: Updated field to show selected option.
76
+
77
  = 1.5.0 - 16 December 2021 =
78
  * Basic Editor: Added a dark theme option.
79
  * Ajax Saving: Resolved unintended slashes added during escaping.
so-css.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: SiteOrigin CSS
4
  Description: An advanced CSS editor from SiteOrigin.
5
- Version: 1.5.0
6
  Author: SiteOrigin
7
  Author URI: https://siteorigin.com
8
  Plugin URI: https://siteorigin.com/css/
@@ -14,7 +14,7 @@ Text Domain: so-css
14
  // Handle the legacy CSS editor that came with SiteOrigin themes
15
  include plugin_dir_path( __FILE__ ) . 'inc/legacy.php';
16
 
17
- define( 'SOCSS_VERSION', '1.5.0' );
18
  define( 'SOCSS_JS_SUFFIX', '.min' );
19
 
20
  /**
2
  /*
3
  Plugin Name: SiteOrigin CSS
4
  Description: An advanced CSS editor from SiteOrigin.
5
+ Version: 1.5.1
6
  Author: SiteOrigin
7
  Author URI: https://siteorigin.com
8
  Plugin URI: https://siteorigin.com/css/
14
  // Handle the legacy CSS editor that came with SiteOrigin themes
15
  include plugin_dir_path( __FILE__ ) . 'inc/legacy.php';
16
 
17
+ define( 'SOCSS_VERSION', '1.5.1' );
18
  define( 'SOCSS_JS_SUFFIX', '.min' );
19
 
20
  /**
tpl/page.php CHANGED
@@ -78,8 +78,8 @@ if ( ! empty( $current_revision ) ) {
78
  <h3 class="hndle"><span><?php esc_html_e( 'Editor Theme', 'so-css' ); ?></span></h3>
79
  <div class="inside">
80
  <select name="so_css_editor_theme" id="so_css_editor_theme">
81
- <option value="neat" selected="selected"><?php esc_attr_e( 'Light', 'so-css' ); ?></option>
82
- <option value="ambiance"><?php esc_attr_e( 'Dark', 'so-css' ); ?></option>
83
  </select>
84
  </div>
85
  </div>
78
  <h3 class="hndle"><span><?php esc_html_e( 'Editor Theme', 'so-css' ); ?></span></h3>
79
  <div class="inside">
80
  <select name="so_css_editor_theme" id="so_css_editor_theme">
81
+ <option value="neat" <?php selected( 'neat', $editor_theme ); ?>><?php esc_attr_e( 'Light', 'so-css' ); ?></option>
82
+ <option value="ambiance" <?php selected( 'ambiance', $editor_theme ); ?>><?php esc_attr_e( 'Dark', 'so-css' ); ?></option>
83
  </select>
84
  </div>
85
  </div>