Version Description
- 12/06/2018
- Fix: the Edit Custom Code page was blank for WordPress 5.0 and the Classic Editor enabled
Download this release
Release Info
Developer | diana_burduja |
Plugin | Simple Custom CSS and JS |
Version | 3.21 |
Comparing to | |
See all releases |
Code changes from version 3.20 to 3.21
- custom-css-js.php +4 -3
- includes/admin-screens.php +5 -0
- readme.txt +6 -2
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.
|
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' ) ) {
|
@@ -73,6 +73,7 @@ final class CustomCSSandJS {
|
|
73 |
$this->set_constants();
|
74 |
|
75 |
if ( is_admin() ) {
|
|
|
76 |
$this->load_plugin_textdomain();
|
77 |
include_once( 'includes/admin-screens.php' );
|
78 |
include_once( 'includes/admin-config.php' );
|
@@ -202,7 +203,7 @@ final class CustomCSSandJS {
|
|
202 |
function set_constants() {
|
203 |
$dir = wp_upload_dir();
|
204 |
$constants = array(
|
205 |
-
'CCJ_VERSION' => '3.
|
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.21
|
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
|
16 |
*/
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) {
|
73 |
$this->set_constants();
|
74 |
|
75 |
if ( is_admin() ) {
|
76 |
+
add_post_type_support('custom-css-js', 'editor');
|
77 |
$this->load_plugin_textdomain();
|
78 |
include_once( 'includes/admin-screens.php' );
|
79 |
include_once( 'includes/admin-config.php' );
|
203 |
function set_constants() {
|
204 |
$dir = wp_upload_dir();
|
205 |
$constants = array(
|
206 |
+
'CCJ_VERSION' => '3.21',
|
207 |
'CCJ_UPLOAD_DIR' => $dir['basedir'] . '/custom-css-js',
|
208 |
'CCJ_UPLOAD_URL' => $dir['baseurl'] . '/custom-css-js',
|
209 |
'CCJ_PLUGIN_FILE' => __FILE__,
|
includes/admin-screens.php
CHANGED
@@ -498,6 +498,11 @@ class CustomCSSandJS_Admin {
|
|
498 |
}
|
499 |
|
500 |
?>
|
|
|
|
|
|
|
|
|
|
|
501 |
<script type="text/javascript">
|
502 |
/* <![CDATA[ */
|
503 |
jQuery(window).ready(function($){
|
498 |
}
|
499 |
|
500 |
?>
|
501 |
+
<style type="text/css">
|
502 |
+
#post-body-content, .edit-form-section { position: static !important; }
|
503 |
+
#ed_toolbar { display: none; }
|
504 |
+
#postdivrich { display: none; }
|
505 |
+
</style>
|
506 |
<script type="text/javascript">
|
507 |
/* <![CDATA[ */
|
508 |
jQuery(window).ready(function($){
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Contributors: diana_burduja
|
|
4 |
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:
|
8 |
-
Stable tag: 3.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
Requires PHP: 5.2.4
|
@@ -105,6 +105,10 @@ $. Add/Edit HTML
|
|
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/
|
4 |
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.0
|
8 |
+
Stable tag: 3.21
|
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.21 =
|
109 |
+
* 12/06/2018
|
110 |
+
* Fix: the Edit Custom Code page was blank for WordPress 5.0 and the Classic Editor enabled
|
111 |
+
|
112 |
= 3.20 =
|
113 |
* 11/15/2018
|
114 |
* Fix: remove compatibility with the Shortcoder plugin. Bug https://wordpress.org/support/topic/edit-page-blank-8/
|