Version Description
- 30 September 2022 =
- Added a check to ensure WP Filesystem is setup.
Download this release
Release Info
Developer | SiteOrigin |
Plugin | SiteOrigin CSS |
Version | 1.5.5 |
Comparing to | |
See all releases |
Code changes from version 1.5.4 to 1.5.5
- lang/so-css.pot +22 -22
- readme.txt +5 -2
- so-css.php +8 -2
lang/so-css.pot
CHANGED
@@ -16,7 +16,7 @@ msgstr ""
|
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
|
19 |
-
#: so-css.php:3, so-css.php:
|
20 |
msgid "SiteOrigin CSS"
|
21 |
msgstr ""
|
22 |
|
@@ -36,87 +36,87 @@ msgstr ""
|
|
36 |
msgid "https://siteorigin.com/css/"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: so-css.php:
|
40 |
msgid "Custom CSS"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: so-css.php:
|
44 |
msgid "SiteOrigin CSS adds any custom CSS you enter here into your site's header. "
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: so-css.php:
|
48 |
msgid "These changes will persist across updates so it's best to make all your changes here. "
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: so-css.php:
|
52 |
msgid "Unchanged"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: so-css.php:
|
56 |
msgid "Select"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: so-css.php:
|
60 |
msgid "Select Image"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: so-css.php:
|
64 |
msgid "Are you sure you want to leave without saving?"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: so-css.php:
|
68 |
msgid "CSS Editor"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: so-css.php:
|
72 |
msgid "Support"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: so-css.php:
|
76 |
msgid "Addons"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: so-css.php:
|
80 |
msgid "Changes apply to %s and its child themes"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: so-css.php:
|
84 |
msgid "Save CSS"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: so-css.php:
|
88 |
msgid "Editing CSS for: %s"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: so-css.php:
|
92 |
msgid "Changes apply to the %s %s when the current theme is %s or its child themes"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: so-css.php:
|
96 |
msgid "Save %s CSS"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: so-css.php:
|
100 |
msgid "Revert to this revision"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: so-css.php:
|
104 |
msgid "The supplied nonce is invalid."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: so-css.php:
|
108 |
msgid "Invalid nonce."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: so-css.php:
|
112 |
msgid "%d chars"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: so-css.php:
|
116 |
msgid "Latest"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: so-css.php:
|
120 |
msgid "No revisions yet."
|
121 |
msgstr ""
|
122 |
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
|
19 |
+
#: so-css.php:3, so-css.php:540
|
20 |
msgid "SiteOrigin CSS"
|
21 |
msgstr ""
|
22 |
|
36 |
msgid "https://siteorigin.com/css/"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: so-css.php:343, so-css.php:343, so-css.php:386
|
40 |
msgid "Custom CSS"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: so-css.php:388
|
44 |
msgid "SiteOrigin CSS adds any custom CSS you enter here into your site's header. "
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: so-css.php:389
|
48 |
msgid "These changes will persist across updates so it's best to make all your changes here. "
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: so-css.php:454
|
52 |
msgid "Unchanged"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: so-css.php:455
|
56 |
msgid "Select"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: so-css.php:456
|
60 |
msgid "Select Image"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: so-css.php:457
|
64 |
msgid "Are you sure you want to leave without saving?"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: so-css.php:526
|
68 |
msgid "CSS Editor"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: so-css.php:527
|
72 |
msgid "Support"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: so-css.php:529
|
76 |
msgid "Addons"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: so-css.php:543
|
80 |
msgid "Changes apply to %s and its child themes"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: so-css.php:544, tpl/page.php:114, tpl/page.php:144
|
84 |
msgid "Save CSS"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: so-css.php:551
|
88 |
msgid "Editing CSS for: %s"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: so-css.php:556
|
92 |
msgid "Changes apply to the %s %s when the current theme is %s or its child themes"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: so-css.php:563
|
96 |
msgid "Save %s CSS"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: so-css.php:576
|
100 |
msgid "Revert to this revision"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: so-css.php:631, so-css.php:652, so-css.php:671
|
104 |
msgid "The supplied nonce is invalid."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: so-css.php:632, so-css.php:653, so-css.php:672
|
108 |
msgid "Invalid nonce."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: so-css.php:722
|
112 |
msgid "%d chars"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: so-css.php:722
|
116 |
msgid "Latest"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: so-css.php:728
|
120 |
msgid "No revisions yet."
|
121 |
msgstr ""
|
122 |
|
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: 6.0
|
5 |
-
Stable tag: 1.5.
|
6 |
-
Build time: 2022-09-
|
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.4 - 28 September 2022 =
|
75 |
* Developer: Introduced definable Custom CSS file name and location using `siteorigin_custom_css_file` and `siteorigin_css_enqueue_css`.
|
76 |
|
2 |
Tags: css, visual css, css editor, design, customize
|
3 |
Requires at least: 3.9
|
4 |
Tested up to: 6.0
|
5 |
+
Stable tag: 1.5.5
|
6 |
+
Build time: 2022-09-30T16:02:18+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.5 - 30 September 2022 =
|
75 |
+
* Added a check to ensure WP Filesystem is setup.
|
76 |
+
|
77 |
= 1.5.4 - 28 September 2022 =
|
78 |
* Developer: Introduced definable Custom CSS file name and location using `siteorigin_custom_css_file` and `siteorigin_css_enqueue_css`.
|
79 |
|
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.
|
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.
|
18 |
define( 'SOCSS_JS_SUFFIX', '.min' );
|
19 |
|
20 |
/**
|
@@ -31,6 +31,12 @@ class SiteOrigin_CSS {
|
|
31 |
|
32 |
// Main header actions
|
33 |
add_action( 'plugins_loaded', array( $this, 'set_plugin_textdomain' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
// Priority 20 is necessary to ensure our CSS takes precedence.
|
36 |
add_action( 'wp_head', array( $this, 'enqueue_css' ), 20 );
|
2 |
/*
|
3 |
Plugin Name: SiteOrigin CSS
|
4 |
Description: An advanced CSS editor from SiteOrigin.
|
5 |
+
Version: 1.5.5
|
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.5' );
|
18 |
define( 'SOCSS_JS_SUFFIX', '.min' );
|
19 |
|
20 |
/**
|
31 |
|
32 |
// Main header actions
|
33 |
add_action( 'plugins_loaded', array( $this, 'set_plugin_textdomain' ) );
|
34 |
+
|
35 |
+
global $wp_filesystem;
|
36 |
+
if ( ! class_exists( 'wp_filesystem' ) ) {
|
37 |
+
require_once( ABSPATH . '/wp-admin/includes/file.php' );
|
38 |
+
WP_Filesystem();
|
39 |
+
}
|
40 |
|
41 |
// Priority 20 is necessary to ensure our CSS takes precedence.
|
42 |
add_action( 'wp_head', array( $this, 'enqueue_css' ), 20 );
|