Simple Custom CSS and JS - Version 3.20

Version Description

  • 11/15/2018
  • Fix: remove compatibility with the Shortcoder plugin. Bug https://wordpress.org/support/topic/edit-page-blank-8/
  • Declare compatibility WooCommerce 3.5
Download this release

Release Info

Developer diana_burduja
Plugin Icon 128x128 Simple Custom CSS and JS
Version 3.20
Comparing to
See all releases

Code changes from version 3.19 to 3.20

Files changed (3) hide show
  1. custom-css-js.php +3 -3
  2. includes/admin-screens.php +3 -2
  3. readme.txt +6 -11
custom-css-js.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Simple Custom CSS and JS
4
  * Plugin URI: https://wordpress.org/plugins/custom-css-js/
5
  * Description: Easily add Custom CSS or JS to your website with an awesome editor.
6
- * Version: 3.19
7
  * Author: SilkyPress.com
8
  * Author URI: https://www.silkypress.com
9
  * License: GPL2
@@ -12,7 +12,7 @@
12
  * Domain Path: /languages/
13
  *
14
  * WC requires at least: 2.3.0
15
- * WC tested up to: 3.3.0
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
@@ -202,7 +202,7 @@ final class CustomCSSandJS {
202
  function set_constants() {
203
  $dir = wp_upload_dir();
204
  $constants = array(
205
- 'CCJ_VERSION' => '3.19',
206
  'CCJ_UPLOAD_DIR' => $dir['basedir'] . '/custom-css-js',
207
  'CCJ_UPLOAD_URL' => $dir['baseurl'] . '/custom-css-js',
208
  'CCJ_PLUGIN_FILE' => __FILE__,
3
  * Plugin Name: Simple Custom CSS and JS
4
  * Plugin URI: https://wordpress.org/plugins/custom-css-js/
5
  * Description: Easily add Custom CSS or JS to your website with an awesome editor.
6
+ * Version: 3.20
7
  * Author: SilkyPress.com
8
  * Author URI: https://www.silkypress.com
9
  * License: GPL2
12
  * Domain Path: /languages/
13
  *
14
  * WC requires at least: 2.3.0
15
+ * WC tested up to: 3.5.0
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
202
  function set_constants() {
203
  $dir = wp_upload_dir();
204
  $constants = array(
205
+ 'CCJ_VERSION' => '3.20',
206
  'CCJ_UPLOAD_DIR' => $dir['basedir'] . '/custom-css-js',
207
  'CCJ_UPLOAD_URL' => $dir['baseurl'] . '/custom-css-js',
208
  'CCJ_PLUGIN_FILE' => __FILE__,
includes/admin-screens.php CHANGED
@@ -61,7 +61,7 @@ class CustomCSSandJS_Admin {
61
  'save_post' => 'options_save_meta_box_data',
62
  'trashed_post' => 'trash_post',
63
  'untrashed_post' => 'trash_post',
64
- 'wp_loaded' => 'compatibility_shortcoder',
65
  'wp_ajax_ccj_active_code' => 'wp_ajax_ccj_active_code',
66
  'wp_ajax_ccj_permalink' => 'wp_ajax_ccj_permalink',
67
  'post_submitbox_start' => 'post_submitbox_start',
@@ -1167,7 +1167,7 @@ End of comment */ ', 'custom-css-js') . PHP_EOL . PHP_EOL;
1167
 
1168
  /**
1169
  * Compatibility with `shortcoder` plugin
1170
- */
1171
  function compatibility_shortcoder() {
1172
  ob_start( array( $this, 'compatibility_shortcoder_html' ) );
1173
  }
@@ -1177,6 +1177,7 @@ End of comment */ ', 'custom-css-js') . PHP_EOL . PHP_EOL;
1177
 
1178
  return str_replace( 'QTags.addButton', '// QTags.addButton', $html );
1179
  }
 
1180
 
1181
  /**
1182
  * Render the checkboxes, radios, selects and inputs
61
  'save_post' => 'options_save_meta_box_data',
62
  'trashed_post' => 'trash_post',
63
  'untrashed_post' => 'trash_post',
64
+ // 'wp_loaded' => 'compatibility_shortcoder',
65
  'wp_ajax_ccj_active_code' => 'wp_ajax_ccj_active_code',
66
  'wp_ajax_ccj_permalink' => 'wp_ajax_ccj_permalink',
67
  'post_submitbox_start' => 'post_submitbox_start',
1167
 
1168
  /**
1169
  * Compatibility with `shortcoder` plugin
1170
+ *
1171
  function compatibility_shortcoder() {
1172
  ob_start( array( $this, 'compatibility_shortcoder_html' ) );
1173
  }
1177
 
1178
  return str_replace( 'QTags.addButton', '// QTags.addButton', $html );
1179
  }
1180
+ */
1181
 
1182
  /**
1183
  * Render the checkboxes, radios, selects and inputs
readme.txt CHANGED
@@ -5,7 +5,7 @@ Email: diana@burduja.eu
5
  Tags: CSS, JS, javascript, custom CSS, custom JS, custom style, site css, add style, customize theme, custom code, external css, css3, style, styles, stylesheet, theme, editor, design, admin
6
  Requires at least: 3.0.1
7
  Tested up to: 4.9
8
- Stable tag: 3.19
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
@@ -50,16 +50,6 @@ OR...
50
 
51
  == Frequently Asked Questions ==
52
 
53
- = Requirements =
54
- PHP >= 5.3
55
-
56
- **Browser requirements**
57
- * Firefox - version 4 and up
58
- * Chrome - any version
59
- * Safari - version 5.2 and up
60
- * Internet Explorer - version 8 and up
61
- * Opera - version 9 and up
62
-
63
  = What if I want to add multiple external CSS codes? =
64
  If you write multiple codes of the same type (for example: two external CSS codes), then all of them will be printed one after another
65
 
@@ -115,6 +105,11 @@ $. Add/Edit HTML
115
 
116
  == Changelog ==
117
 
 
 
 
 
 
118
  = 3.19 =
119
  * 10/16/2018
120
  * Fix: keep the editor LTR even on RTL websites
5
  Tags: CSS, JS, javascript, custom CSS, custom JS, custom style, site css, add style, customize theme, custom code, external css, css3, style, styles, stylesheet, theme, editor, design, admin
6
  Requires at least: 3.0.1
7
  Tested up to: 4.9
8
+ Stable tag: 3.20
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
50
 
51
  == Frequently Asked Questions ==
52
 
 
 
 
 
 
 
 
 
 
 
53
  = What if I want to add multiple external CSS codes? =
54
  If you write multiple codes of the same type (for example: two external CSS codes), then all of them will be printed one after another
55
 
105
 
106
  == Changelog ==
107
 
108
+ = 3.20 =
109
+ * 11/15/2018
110
+ * Fix: remove compatibility with the Shortcoder plugin. Bug https://wordpress.org/support/topic/edit-page-blank-8/
111
+ * Declare compatibility WooCommerce 3.5
112
+
113
  = 3.19 =
114
  * 10/16/2018
115
  * Fix: keep the editor LTR even on RTL websites