Simple Custom CSS and JS - Version 3.25

Version Description

  • 04/21/2019
  • Tweak: update the Bootstrap and jQuery library links
  • Declare compatibility with WooCommerce 3.6
Download this release

Release Info

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

Code changes from version 3.24 to 3.25

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.24
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.5
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.24',
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.25
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.6
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
202
  function set_constants() {
203
  $dir = wp_upload_dir();
204
  $constants = array(
205
+ 'CCJ_VERSION' => '3.25',
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
@@ -620,10 +620,10 @@ End of comment */ ', 'custom-css-js') . PHP_EOL . PHP_EOL;
620
  $post->post_content = __('<!-- Add HTML code to the header or the footer.
621
 
622
  For example, you can use the following code for loading the jQuery library from Google CDN:
623
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
624
 
625
  or the following one for loading the Bootstrap library from MaxCDN:
626
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
627
 
628
  -- End of the comment --> ', 'custom-css-js') . PHP_EOL . PHP_EOL;
629
  }
620
  $post->post_content = __('<!-- Add HTML code to the header or the footer.
621
 
622
  For example, you can use the following code for loading the jQuery library from Google CDN:
623
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
624
 
625
  or the following one for loading the Bootstrap library from MaxCDN:
626
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
627
 
628
  -- End of the comment --> ', 'custom-css-js') . PHP_EOL . PHP_EOL;
629
  }
languages/custom-css-js-fr_FR.mo CHANGED
Binary file
languages/custom-css-js-fr_FR.po CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/custom-css-js-"
8
  "svn\n"
9
  "POT-Creation-Date: 2018-02-08 19:58:14+00:00\n"
10
- "PO-Revision-Date: 2018-02-08 21:05+0100\n"
11
  "Last-Translator: Diana Burduja <diana@wootips.com>\n"
12
  "Language-Team: \n"
13
  "Language: fr\n"
@@ -15,7 +15,7 @@ msgstr ""
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
18
- "X-Generator: Poedit 1.6.10\n"
19
 
20
  #: custom-css-js.php:53 custom-css-js.php:60
21
  msgid "Cheatin&#8217; huh?"
@@ -398,13 +398,13 @@ msgid ""
398
  "\n"
399
  "For example, you can use the following code for loading the jQuery library "
400
  "from Google CDN:\n"
401
- "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min."
402
  "js\"></script>\n"
403
  "\n"
404
  "or the following one for loading the Bootstrap library from MaxCDN:\n"
405
- "<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/"
406
- "bootstrap/3.3.7/css/bootstrap.min.css\" integrity=\"sha384-"
407
- "BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u\" "
408
  "crossorigin=\"anonymous\">\n"
409
  "\n"
410
  "-- End of the comment --> "
@@ -413,14 +413,14 @@ msgstr ""
413
  "\n"
414
  "Par exemple, utilisez le code suivant pour charger la bibliotheque jQuery "
415
  "depuis le CDN de Google :\n"
416
- "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min."
417
  "js\"></script>\n"
418
  "\n"
419
  "ou celui-ci pour charger la bibliotheque Bootstrap depuis MaxCDN:\n"
420
- "<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/"
421
- "bootstrap/3.3.7/css/bootstrap.min.css\" integrity=\"sha384-"
422
- "BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u\" "
423
- "crossorigin=\"anonymous\">\n"
424
  "\n"
425
  "-- Fin du commentaire --> "
426
 
7
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/custom-css-js-"
8
  "svn\n"
9
  "POT-Creation-Date: 2018-02-08 19:58:14+00:00\n"
10
+ "PO-Revision-Date: 2019-04-21 22:41+0200\n"
11
  "Last-Translator: Diana Burduja <diana@wootips.com>\n"
12
  "Language-Team: \n"
13
  "Language: fr\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Plural-Forms: nplurals=2; plural=n > 1;\n"
18
+ "X-Generator: Poedit 2.2.1\n"
19
 
20
  #: custom-css-js.php:53 custom-css-js.php:60
21
  msgid "Cheatin&#8217; huh?"
398
  "\n"
399
  "For example, you can use the following code for loading the jQuery library "
400
  "from Google CDN:\n"
401
+ "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min."
402
  "js\"></script>\n"
403
  "\n"
404
  "or the following one for loading the Bootstrap library from MaxCDN:\n"
405
+ "<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/"
406
+ "bootstrap/3.4.1/css/bootstrap.min.css\" integrity=\"sha384-"
407
+ "HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu\" "
408
  "crossorigin=\"anonymous\">\n"
409
  "\n"
410
  "-- End of the comment --> "
413
  "\n"
414
  "Par exemple, utilisez le code suivant pour charger la bibliotheque jQuery "
415
  "depuis le CDN de Google :\n"
416
+ "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min."
417
  "js\"></script>\n"
418
  "\n"
419
  "ou celui-ci pour charger la bibliotheque Bootstrap depuis MaxCDN:\n"
420
+ "<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/"
421
+ "bootstrap/3.4.1/css/bootstrap.min.css\" integrity=\"sha384-HSMxcRTRxnN"
422
+ "+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu\" crossorigin="
423
+ "\"anonymous\">\n"
424
  "\n"
425
  "-- Fin du commentaire --> "
426
 
languages/custom-css-js-pl_PL.po CHANGED
@@ -381,13 +381,13 @@ msgid ""
381
  "\n"
382
  "For example, you can use the following code for loading the jQuery library "
383
  "from Google CDN:\n"
384
- "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min."
385
  "js\"></script>\n"
386
  "\n"
387
  "or the following one for loading the Bootstrap library from MaxCDN:\n"
388
- "<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/"
389
- "bootstrap/3.3.7/css/bootstrap.min.css\" integrity=\"sha384-"
390
- "BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u\" "
391
  "crossorigin=\"anonymous\">\n"
392
  "\n"
393
  "-- End of the comment --> "
381
  "\n"
382
  "For example, you can use the following code for loading the jQuery library "
383
  "from Google CDN:\n"
384
+ "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min."
385
  "js\"></script>\n"
386
  "\n"
387
  "or the following one for loading the Bootstrap library from MaxCDN:\n"
388
+ "<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/"
389
+ "bootstrap/3.4.1/css/bootstrap.min.css\" integrity=\"sha384-"
390
+ "HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu\" "
391
  "crossorigin=\"anonymous\">\n"
392
  "\n"
393
  "-- End of the comment --> "
languages/custom-css-js-tr_TR.po CHANGED
@@ -379,13 +379,13 @@ msgid ""
379
  "\n"
380
  "For example, you can use the following code for loading the jQuery library "
381
  "from Google CDN:\n"
382
- "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min."
383
  "js\"></script>\n"
384
  "\n"
385
  "or the following one for loading the Bootstrap library from MaxCDN:\n"
386
- "<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/"
387
- "bootstrap/3.3.7/css/bootstrap.min.css\" integrity=\"sha384-"
388
- "BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u\" "
389
  "crossorigin=\"anonymous\">\n"
390
  "\n"
391
  "-- End of the comment --> "
379
  "\n"
380
  "For example, you can use the following code for loading the jQuery library "
381
  "from Google CDN:\n"
382
+ "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min."
383
  "js\"></script>\n"
384
  "\n"
385
  "or the following one for loading the Bootstrap library from MaxCDN:\n"
386
+ "<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/"
387
+ "bootstrap/3.4.1/css/bootstrap.min.css\" integrity=\"sha384-"
388
+ "HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu\" "
389
  "crossorigin=\"anonymous\">\n"
390
  "\n"
391
  "-- End of the comment --> "
languages/custom-css-js.pot CHANGED
@@ -376,13 +376,13 @@ msgid ""
376
  "\n"
377
  "For example, you can use the following code for loading the jQuery library "
378
  "from Google CDN:\n"
379
- "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min."
380
  "js\"></script>\n"
381
  "\n"
382
  "or the following one for loading the Bootstrap library from MaxCDN:\n"
383
- "<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/"
384
- "bootstrap/3.3.7/css/bootstrap.min.css\" integrity=\"sha384-"
385
- "BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u\" "
386
  "crossorigin=\"anonymous\">\n"
387
  "\n"
388
  "-- End of the comment --> "
376
  "\n"
377
  "For example, you can use the following code for loading the jQuery library "
378
  "from Google CDN:\n"
379
+ "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min."
380
  "js\"></script>\n"
381
  "\n"
382
  "or the following one for loading the Bootstrap library from MaxCDN:\n"
383
+ "<link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/"
384
+ "bootstrap/3.4.1/css/bootstrap.min.css\" integrity=\"sha384-"
385
+ "HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu\" "
386
  "crossorigin=\"anonymous\">\n"
387
  "\n"
388
  "-- End of the comment --> "
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: 5.1
8
- Stable tag: 3.24
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
@@ -105,6 +105,11 @@ $. Add/Edit HTML
105
 
106
  == Changelog ==
107
 
 
 
 
 
 
108
  = 3.24 =
109
  * 04/05/2019
110
  * Fix: remove the editor scrollbar
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: 5.1
8
+ Stable tag: 3.25
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
  Requires PHP: 5.2.4
105
 
106
  == Changelog ==
107
 
108
+ = 3.25 =
109
+ * 04/21/2019
110
+ * Tweak: update the Bootstrap and jQuery library links
111
+ * Declare compatibility with WooCommerce 3.6
112
+
113
  = 3.24 =
114
  * 04/05/2019
115
  * Fix: remove the editor scrollbar