PluginProbe
CSS & JavaScript Toolbox / 6.0.9
CSS & JavaScript Toolbox v6.0.9
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | readme.txt +161 -441 trunk6.0.9 View file →
@@ -1,100 +1,96 @@
1 1 === CSS & JavaScript Toolbox ===
2 -Contributors: wipeoutmedia, lazycodelab
3 -Author URL: https://css-javascript-toolbox.com
2 +Contributors: wipeoutmedia
3 +Author URL: http://css-javascript-toolbox.com
4 4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EWDWF75JHT9Q6
5 -Tags: snippets, javascript, php, scripts, code
5 +Tags: plug, customise, style, scripts, hack, Wordpress, contribute, enhancing, HTML, CSS, Javascript, PHP, execute, display, output, header, footer, apply, requests, match, hook, run
6 6 License: GPLv2 or later
7 -License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
8 -Requires at least: 5.0 or higher
9 -Requires PHP: 7.4.0
10 -Tested up to: 7.0.4
11 -Stable tag: 12.0.7
7 +License URI: http://www.gnu.org/licenses/gpl-2.0.html
8 +Requires at least: 3.3
9 +Tested up to: 3.5.1
10 +Stable tag: 6.0.9
12 11
13 -Add CSS, JavaScript, PHP and HTML code snippets to your site.
12 +Easily add custom CSS, JavaScript, HTML and PHP code to unique CJT code blocks and assign them wherever you want.
14 13
15 14 == Description ==
16 -Safely add CSS, JavaScript, PHP or HTML to unique code blocks, then choose where it goes on your site.
15 +CSS & JavaScript Toolbox (or CJT) is a powerful and flexible plugin, which allows you to contribute to your WordPress installation code via an easy-to-use web interface. You will be able to modify or extend your site functionality and appearance by adding custom code directly into CJT code blocks and assign them to pages, posts, custom posts, categories, URLs, expressions, and loads more!
17 16
18 -### IDEAL FOR: ###
19 -* **Making CSS front-end changes** - No need to modify theme files or work with tedious built-in theme options. Just create a CSS code block.
20 -* **Adding site functionality** - Stop adding plugins for simple tasks as they can slow down your site. Create a JavaScript or PHP code block instead.
21 -* **Adding widgets, code snippets and third-party scripts** - Code blocks are perfect for adding scripts such as Google Analytics and chat widgets to your website.
17 += Who is this plugin for? =
18 +The CJT plugin was created to help website authors write their own code. Basically, if love writing code, then you will love CJT. Designed and developed from the ground-up, CJT will suit novice users to seasoned website developers alike. You can also use it as a training tool, and learn step-by-step how to write and apply scripts yourself! In fact, you will find useful script examples on the CJT website.
22 19
23 -CJT is built on the concept of a code block. Each code block is more than just a code editor. It also contains a location editor so you can click the sections of your website you want your code to run.
20 += Have you ever thought? =
21 +- Wouldn't it be great to have an easy way to plug your code into a Wordpress installation without having to know how to create a Wordpress plugin OR having to modify files through FTP, etc?
22 +- How nice it would be if you could simply add code that works with WordPress internal code without hacking away at core files?
23 +- How about a nice simple way to change the appearance of a page or post in your Wordpress website?
24 +- What about a means to organise your scripts and blocks of code in a simple web interface?
24 25
25 -It was designed for super-fast development without any cumbersome page refreshing. Create as many code blocks as you need and see all of your code and locations in the one dashboard. Don't worry, CJT has been optimised to handle 100's of code blocks and thousands of locations (i.e. Pages, Posts, Categories, Custom Posts, etc).
26 += How can CJT help you? =
27 +- The CJT plugin allows you to contribute to your Wordpress installation code via a simple web interface. You can modify and extend the functionality and appearance of your website by writing code directly into CJT code blocks.
28 +- Each code block represents a script (or block of code) that can apply/execute/output to a specific location (e.g. pages, posts, categories, etc) as defined in the Assignment Panel.
29 +- With CJT code blocks, you can add various types of code like CSS, JavaScript, HTML and PHP. You can mix them into a single block or organise them into multiple separate blocks - the choice is yours.
30 +- The Auxiliary tab provides more 'assignment' options. Things like WordPress common requests such as: 404 Error, Tag, Archive, Entire website, Front-end, Dashboard Backend, and a number of others.
31 +- You can create multiple code blocks, assign them to the same requests or different requests.
32 +- Manage all of your code blocks through a single webpage using Ajax requests. No need to refresh your pages for any operation you need to make.
33 +- Changing the blocks order (via block dragging) allows you to specify what code block is used first. This way later blocks are overridden by higher-order code blocks.
34 +- By Deactivating code blocks, you can disable a code block from running. Using this feature is handy to test the behaviour you expected your block to make without changing a blocks properties (i.e. code, assigned requests).
35 +- All code blocks can have a unique name, which is ideal for organising and remembering the purpose of your block.
36 +- Output location is the location/point/hook for the block code to run. CJT now only supports two hook points - Header and Footer, which outputs code block in the page header - exactly before the closing HTML 'head' tag OR in the page footer - just before the end of the 'body' tag.
37 +- Integrating with [ACE Editor](http://ace.ajax.org/)! CJT proudly and perfectly integrates the ACE Editor and it is a dream to use while writing code for its smooth response, high performance and syntax highlighting.
38 +- We have included a number of tools for batch processing like: 'Delete All Empty Blocks', 'Delete All', 'Activate All', 'Deactivate All', 'Revert State'.
39 +- Individual code block Revisions can be saved. Also, you can entirely save all of your code blocks with the Backups feature.
26 40
27 -[Click for CSS & JavaScript Toolbox PLUS](https://css-javascript-toolbox.com/?utm_source=cjt_free_on_wordpress&utm_medium=readme_txt_description&utm_campaign=click_for_premium_link)
41 += Would like to know more? =
42 +If you would like to learn more, please click to [download the CJT User Manual](http://css-javascript-toolbox.com/css-javascript-toolbox-free).
28 43
29 -### FEATURES: ###
30 -* Easy to use 'code blocks' interface
31 -* Powerful code editor
32 -* Intuitive assignment panel (click where your code goes)
33 -* Code/script library management
34 -* Add code to the header or footer hook
35 -* **PREMIUM** Add code to entire website, all posts, etc
36 -* **PREMIUM** Add code via shortcodes, widgets, Gutenburg blocks, etc
37 -* **PREMIUM** Add code via tags, URLs, regular expressions
38 -* **PREMIUM** 8 additional hooks for more precise assignments
39 -* **PREMIUM** Invert feature (run code everywhere but ...)
40 -* **PREMIUM** Editor tools (code auto complete, beautify/minify, etc)
41 -* **PREMIUM** Code revisions system
42 -* **PREMIUM** Backup and export/import system
44 += Scripts, scripts, glorious scripts! =
45 +If you would like to learn how to use our plugin with some script examples, please visit our [Scripts page](http://css-javascript-toolbox.com/category/scripts). If you are a script author and would like to get more exposure for your scripts, please submit your scripts to us. Click [Submit a Script](http://css-javascript-toolbox.com/submit-a-script) to find out more.
43 46
44 -[Click for CSS & JavaScript Toolbox PLUS](https://css-javascript-toolbox.com/?utm_source=cjt_free_on_wordpress&utm_medium=readme_txt_description&utm_campaign=click_for_premium_link)
47 += Add more power to CJT by installing Extensions! =
48 +CJT is extensible Plugin that allow to other Wordpress Plugins to extend or change its behaviour! CJT team start to create some useful extensions you can find in the [addons](http://css-javascript-toolbox.com/addons) page.
45 49
46 -### OVERVIEW VIDEO ###
47 -https://www.youtube.com/watch?v=vYAKePVgJqE
50 += Thank You =
51 +We would like to take this opportunity to thank you for installing our WordPress plugin. We will continue to develop it further, making it bigger and better with awesome updates in the near future. If you like this plugin and not only find it useful, but appreciate the huge amount of work that has gone into creating it, you can certainly support us in a number of ways, including:
48 52
53 +- Providing a [feedback review and rating](http://wordpress.org/support/view/plugin-reviews/css-javascript-toolbox) on WordPress.org
54 +- Visiting our [CJT website](http://css-javascript-toolbox.com) and letting us know your thoughts on using the plugin, notifying us of any bugs and issues, and providing us with feature requests.
55 +- Liking [CJToolbox on Facebook](https://www.facebook.com/CJToolbox)
56 +- Following [CJToolbox on Twitter](https://twitter.com/CJToolbox)
57 +- Subscribing to [CJToolbox on Youtube](http://www.youtube.com/user/cjtoolbox)
58 +
59 +Thank you very much for your support and we hope you enjoy using it as much as we enjoy developing it.
60 +
61 +Regards,
62 +Team CJT
63 +
49 64 == Installation ==
50 65 1. If you're upgrading from older versions its highly recommended to backup your database before upgrading.
51 -2. Upload the 'css-javascript-toolbox' folder to the '/wp-content/plugins/' directory
66 +2. Upload the 'css-js-toolbox' folder to the '/wp-content/plugins/' directory
52 67 3. Activate the plugin through the 'Plugins' menu in WordPress
53 68 4. Click 'CSS & JavaScript Toolbox' link in the main navigation (left side of your Dashboard).
54 69
55 -== Screenshots ==
56 -1. Code Block Editor
57 -2. Code Block Assignment Panel
58 -3. CJT Main Admin Toolbar
59 -4. Code Block Toolbar
60 -5. Code Block Editor Tools
61 -6. Assignment Panel for Pages
62 -7. Assignment Panel for Posts
63 -8. Assignment Panel for Categories
64 -9. Assignment Panel for Custom Posts
65 -10. Assignment Panel for Auxiliary Assignments
66 -11. Assignment Panel for Tags
67 -12. Assignment Panel for Advanced Assignments
68 -13. Assignment Panel Inverter
69 -14. Code Block Information
70 -
71 70 == Frequently Asked Questions ==
72 71 = Why was the CJT plugin developed and what is it used for? =
73 -The CJT plugin was created to help website authors write or add their own code. The plugin allows you to contribute to your Wordpress installation code via a simple web interface, where you can modify and extend the functionality and appearance of your website by writing code directly into CJT code blocks. Some typical examples can include changing the look of a specific page by adding some CSS code; adding functionality to a page with PHP; or making a page more interactive by adding some JavaScript.
72 +The CJT plugin was created to help website authors write their own code. The plugin allows you to contribute to your Wordpress installation code via a simple web interface, where you can modify and extend the functionality and appearance of your website by writing code directly into CJT code blocks. A typical example of using the plugin can include changing the the way a specific Wordpress page is displayed, or making a page more interactive by adding some JavaScript (Dynamic HTML).
74 73
75 74 = What is a CJT 'code block'? =
76 -The CJT code block is the most fundamental unit for writing code and to associate it with specific Wordpress requests via the assignment panel.
75 +The CJT code block is the basic unit for writing code and to associate it with specific Wordpress requests.
77 76
78 -= What is the assignment panel? =
79 -The assignment panel is a tabs window, which appears on the right side of the code block editor and is used to assign/apply the code block into specific requests. These assignments include: Pages, Posts, Custom Posts, Tags, and Categories. Auxiliary sections such as Entire Website, Website Backend, All Pages, All Posts, Recent Posts, Blog Index, All Categories, Search Pages, All Archives, Tag Archives, Author Archives, Attachment Pages, 404 Error Pages. Advanced sections such as URLs, or Regular Expressions (Regex).
77 += What is the Assignment Panel? =
78 +The Assignment Panel is a tabs window, which appears on the right side of the code block editor and is used to assign/apply the code block into specific requests.
80 79
81 -= I have noticed a bunch of question marks appear during mouse hover - what are they? =
82 -These are premium features, which are only available for our CJT PLUS plugin. [Click here to purchase a license for any of our premium CJT PLUS products](https://css-javascript-toolbox.com/pricing).
80 += Can you select more than one item from the Assignment Panel? =
81 +Yes! You can select any number of items you need, there is no limitation regarding this.
83 82
84 -= Can you select more than one item from the assignment panel? =
85 -Yes. You can select any number of items you need, there is no limitation regarding this.
83 += Can you assign multiple blocks to the same items from the Assignment Panel? =
84 +Yes! It's one of the most useful features that CJT supports as it allows you to manage/split your codes into several code blocks, allowing you to override code in a former (or lower ordered) code block.
86 85
87 -= Can you assign multiple blocks to the same items from the assignment panel? =
88 -Yes. It's one of the most useful features that CJT supports as it allows you to manage/split your codes into several code blocks, allowing you to override code in a former (or lower-ordered) code block.
89 -
90 86 = What is Pages, Posts, Categories and Custom Posts tabs? =
91 -These lists with checkboxes represent all of your WordPress Pages, Posts, Categories and Custom Posts that your entire website contains. It also supports sub-pages and sub-categories, which you will find in there.
87 +These lists with checkboxes represent all of your WordPress Pages, Posts, Categories and Custom Posts that your entire website contains. It also supports subpages and sub-categories, which you will also find in there.
92 88
93 89 = What is the Auxiliary tab? =
94 -As there are a number of requests that are not available as normal Wordpress items (e.g. Pages, Posts, etc) but since it's commonly required and most likely to be used, you will find them pre-defined in the Auxiliary tab. In the Auxiliary tab you can find things like: Entire Website, Blog Index, Author, 404 error, Front-end, Admin backend and much more!
90 +As there are a number of requests that are not available as normal Wordpress items (e.g. Pages, Posts, etc) but since it's commonly required and most likely be used, you will find them pre-defined in the Auxiliary tab. In the Auxiliary tab you can find pages like: Home, Blog Index, Author, 404 error, Tag, Archive, Entire website, Front-end, Admin backend and much more!
95 91
96 -= Is it better to use the URLs tab, or select items if found through other tabs? =
92 += Is it better to use the URLs tab, or should I select items if found through other tabs? =
97 93 Pages, Posts, Custom Posts and Categories tabs are created to simplify the assignment process for all types of users. Using URLs is great for fast performance as it requires less time to evaluate/identify the request! However, not all things can be done through the URLs tab. For example, applying a single block to a Category index page and all its sub-categories.
98 94
99 95 = What is the Advanced Expressions tab? =
100 96 The Advanced Expression tab allows you to fully control what requests to integrate into the code block by using Regular Expressions. In other words, allowing CJT users to define more requests to assign the code block to.
@@ -101,410 +97,134 @@
101 97
102 98 = Can I move the blocks around? =
103 99 Yes by hovering your mouse cursor over the code block title bar until it turns into a four-sided arrow, this allow you to move the blocks. Clicking the block title bar allows you to open and close the blocks.
104 100
105 -= Is a code block saved after I click 'Create' in 'Create New Code Block' form? =
106 -Yes. The block is created and saved in your database. In order to discard the block, you have to delete it, then click the 'Save All Changes' button.
101 += Is block immediately saved after I clicked 'create' on 'Create New Code Block' form? =
102 +Yes! The block is created and saved in your database, to discard the block you've to delete it.
107 103
108 -= After shuffling the order of the code blocks using drag-and-drop, is the new code block order immediately saved? =
109 -No. In order to save the code blocks order, you need to click the 'Save All Changes' button.
104 += Is block orders immediately saved after drag-and-drop block box? =
105 +No! In order to save blocks order you need to press 'Save All Changes' button.
110 106
111 -= Is a code block permanently deleted from the blocks list page after a code block delete icon is clicked? =
112 -No. After you delete a code block, you then need to click the 'Save All Changes' button.
107 += Is block immediately deleted after removed from the blocks list page? =
108 +No! After delete block you need to click 'Save All Changes' button.
113 109
114 110 = I'm using the URLs tab and my code is not working? =
115 -Make sure you have copied and pasted the Page, Post, or Category URL exactly as it appears in the browser address bar. For example, you may have inadvertently included an extra forward slash at the end of your URL.
111 +Make sure you have copied and pasted the Page, Post, or Category URL exactly as it appears in the address bar. For example, you may have inadvertently included an extra forward slash at the end of your URL.
116 112
117 -= Why use the Hook switch in the code block bar? =
118 -The hook location feature gives you further control over the outputting of your CSS and JavaScript code. This is useful in case overriding another plugins' CSS code is required. Also, it's sometimes better to put your JavaScript code in the footer to avoid slowing down your page load.
113 += Why use the Footer switch in Location/Hook? =
114 +Hook location feature gives you control over the location of outputting the CSS/JS code. This is useful in case overriding another plugins' CSS is required. Also sometimes its better to put your JS code in the footer to avoid slowing down your page load.
119 115
120 116 = I received a weird error, what do I do now? =
121 -Due to the overwhelming amount of emails we get for users requesting support for our CJT plugins, we cannot provide support for the CJT Free plugin (hosted here on WordPress.org) at this stage unfortunately. If you wish to receive priority support, please visit our CJT website and then [purchase a license for any of our premium CJT PLUS products](https://css-javascript-toolbox.com/pricing).
117 +Sometimes a bug decides to rear its ugly head and when this happens, this is when we need your help. If you receive an error, if it be a PHP error, or some functionality that isn't working for whatever reason, please visit our: [CSS & JavaScript Toolbox website and let us know](http://wordpress.org/support/plugin/css-javascript-toolbox)
122 118
123 -== Changelog ==
124 -= 12.0.7 =
125 -* Security: Fixed a stored XSS in the [cjtoolbox] shortcode (CVE-2025-14814) - the user-supplied `tag` attribute is now validated against a strict allow-list of inert HTML elements, so it can no longer be set to `script` (or any other executable/dangerous element) to wrap shortcode content in an executable tag
126 -* Security: Fixed authenticated stored XSS in the code-block admin screens (CVE-2025-13533) - the block name, assigned URLs and assignment expressions are now HTML-escaped everywhere they are rendered in the admin (esc_attr/esc_html/esc_textarea), and the block name is additionally sanitized server-side on save/create so quotes and angle brackets can no longer be persisted by bypassing the client-side validation
127 -* Security: Hardened the AJAX access point - the module prefix and action name from the request are now strictly validated, and an unrecognised module can no longer register a loader or redirect the controller lookup path
128 -* Security: Removed the last use of the `create_function()` API, which was removed in PHP 8.0
129 -* Fixed: The dashboard "Latest News" headline now links to the news item itself instead of a hardcoded destination
130 -* Fixed: The update hook no longer reads missing array keys or queries the database during unrelated plugin updates
131 -* Fixed: The unsupported-PHP admin notice now reports the real minimum version (7.4) instead of 7.3
132 -* Changed: The dashboard header banner now promotes CSS & JavaScript Toolbox PLUS, and is hidden for users who already have PLUS installed
133 -* Enhancement: Removed unused images, dead stylesheet rules, stray OS metadata files and a duplicate PHP version check from the plugin package
119 +== Screenshots ==
134 120
135 -= 12.0.6 =
136 -* Security: Fixed sanitization vulnerability in Template Manager
137 -* Security: Fixed sanitization vulnerability in Blocks Coupling controller
138 -* Enhancement: Improved plugin security and stability
121 +1. Main CJT V6 CE code block screen
122 +2. CJT Shortcode button
139 123
140 -= 12.0.5 =
141 -* Fixed: Improved plugin security and stability
124 +== Changelog ==
142 125
143 -= 12.0.4 =
144 -* Fixed: Improved plugin security and stability
145 -
146 -= 12.0.3 =
147 -* Security: Fixed path traversal vulnerability in controller routing
148 -* Security: Added input validation to prevent arbitrary file inclusion
149 -* Enhancement: Improved plugin security and stability
150 -
151 -= 12.0.2 =
152 -* Fix: Text domain header issue
153 -* Fix: Old PHP notices and warnings
154 -* Enhancement: Improved plugin stability
155 -
156 -= 12.0.1 =
157 -* Fix: Headers already sent issue
158 -* Fix: Old PHP notices and warnings
159 -* Enhancement: Improved plugin stability
160 -
161 -= 12.0 =
162 -* Compatibility: with latest WordPress version
163 -* Enhancement: Improved plugin stability
164 -* Update: ACE editor to version 1.35.3
165 -* Fix: Resolved main controller dirname null string issue
166 -* Fix: Compatibility issues with PHP > 8.0
167 -* Fix: Notice warning errors in WordPress dashboard area
168 -* Fix: Various bugs fixed
169 -
170 -= 11.9.1 =
171 -* Fix: Various bugs fixed
172 -* Enhancement: Improved plugin stability
173 -
174 -= 11.9 =
175 -* Fix: XSS vulnerability in shortcodes and code blocks
176 -* Fix: Bugs fixed
177 -
178 -= 11.8 =
179 -* Fix: XSS vulnerability
180 -* Fix: Bugs fixed
181 -
182 -= 11.7 =
183 -* Fix: PHP version 8 fatal issue
184 -* Fix: Updated old composer logic, updated file require path, and some other minor formatting
185 -* Fix: PHP version 8+ issue where Block ID Info panel and Assignment Info panel does not show
186 -
187 -= 11.6 =
188 -* Enhancement: Updated ACE Editor to v1.15.0
189 -* Fix: Bugs fixed
190 -
191 -= 11.5 =
192 -* Compatibility: PHP version 8+
193 -* Compatibility: MySQL version 8+
194 -* Fix: Duplicate ID issue, which on rare occasions was fetching the 'revision block' ID for a newly created block causing an error for duplicate entry
195 -* Enhancement: If the 'wp-content' directory is renamed to something different (e.g. 'content'), CJT will now find any custom content directories and install correctly
196 -
197 -= 11.4 =
198 -* Removed: Auxiliary and Advanced tabs are removed for CJT new installs. Existing CJT users with active code blocks still get them
199 -* Enhancement: All mouse hover-over popups are faster and more responsive
200 -
201 -= 11.3 =
202 -* Fix: URL Assignment tab is now working as expected
203 -* Fix: Inverter functionality was not being displayed in the frontend
204 -
205 -= 11.2 =
206 -* Added: New links for CJT PLUS license validation
207 -
208 -= 11.0 =
209 -* Added: 8 More Hooks (Body Open, Before Post Content, After Post Content, Before Post, Excerpt, After Post Excerpt, Before Posts List, After Posts List, Before Post
210 -* Enhancement: Assignments Panel
211 -* Enhancement: Templates Panel
212 -* Enhancement: Code Files Panel
213 -* Enhancement: Revisions Panel
214 -* Enhancement: Code Block Toolbar
215 -* Enhancement: Code Block InfoBar (added Shortcode copy feature)
216 -* Enhancement: Group Font Size Buttons
217 -* Enable/Disable: Toolbox menu when block is saved
218 -* Fix: Framework incompatibility version
219 -* Fix: Metabox Block InfoBar elements
220 -* Fix: Minifier was not working
221 -* Moved: Code Block Toolbar buttons
222 -* Moved: Code Block Toolbar editor menu (i.e. File, Edit, Settings) to Editor Toolbar as buttons
223 -* Removed: Clear Block (clears all Code Block code) Editor Toolbar button
224 -* Removed: Footer/Header All batch buttons
225 -* Show: Incompatible Hooks "Warning" Notice
226 -
227 -= 10.0 =
228 -* Fix: Styling fixes for WordPress version 5.5
229 -* Enhancement: Updated ACE Editor to v1.4.12
230 -* Enhancement: Improve snippet manager
231 -* Enhancement: Add placeholder option
232 -* Added: Option to disable auto-indent
233 -* Added: New language modes
234 -* Fix: Double space being converted to dot on mobile keyboards
235 -* Fix: Backspace not working with some mobile keyboards
236 -
237 -= 9.4 =
238 -* Improved variable security throughout the plugin.
239 -* Fix: Bugs fixed.
240 -* Fix: PHP notices and warnings fixed.
241 -
242 -= 9.3 =
243 -* Fix: SQL vulnerability for uninstaller.
244 -
245 -= 9.2 =
246 -* Added: Editor status bar to quickly display info regarding the block.
247 -* Enhancement: Updated ACE editor to v1.4.5
248 -* Enhancement: Detailed data about the assignment of the block in the info popup.
249 -
250 -= 9.0 =
251 -* PHP 7.2+ fixes
252 -* Sanitisation on GET functions
253 -
254 -= 8.4.2 =
255 -* Fix: Wordpress Vulnerability report
256 -
257 -= 8.4.1 =
258 -* Fix: CSS & JavaScript Toolbox not showing
259 -
260 -= 8.4 =
261 -* Enhancement: START and END comments for CJT Assignments, CJT Shortcodes, and CJT Metabox code blocks. You can now go into the Page Source and perform a search for these comments to quickly find your code block within the source code.
262 -* Removed: Admin notice “CJT plugin is no longer supported"
263 -
264 -= 8.3.2 =
265 -* Added: Admin notice “CJT plugin is no longer supported"
266 -
267 -= 8.3.1 =
268 -* Fix: Development log files created at production
269 -
270 -= 8.3 =
271 -* Added: “CJT Plugin will not work” admin notice displayed when PHP version < 5.3
272 -* Enhancement: Dashboard statistics Metabox display more fields
273 -* Fix: WordPress Plugin compatibility for commonly detected conflicts
274 -* Fix: SQL errors commonly appears in Error log file
275 -* Fix: Dashboard statistics Metabox exception when CJT server is not reachable
276 -* Fix: Dashboard statistics Metabox blocks count include backups block
277 -* Updated: ACE Editor updated to the last version
278 -
279 -= 8.2 =
280 -* Added: PHP version check on activation
281 -Fix: Fatal error: 'break' not in the 'loop' or 'switch' context in /path/to/wp-content/plugins/css-javascript-toolbox/controllers/block.php on line 145
282 -* Added: Display notice during installation steps on network-level errors. Resolves endless spinner issue
283 -* Compatibility: 100% compatible with BulletProof Security (BPS) security plugin. No need for any bypass rules
284 -
285 -= 8.1 =
286 -* Compatibility: Fully tested with Wordpress 4.3.1
287 -* Enhancement: CJT core upgrades and enhancements
288 -
289 -= 8.0.4 =
290 -* Compatibility: Fully tested with Wordpress 4.3
291 -* Added: List of future deprecated features
292 -
293 -= 8.0.3 =
294 -* Added: Support us link on Dashboard Metabox
295 -* Added: Support us link on CJT Header
296 -
297 -= 8.0.2 =
298 -* Removed: CJT License Setup form. CJT is now 100% Free
299 -* Fix: Multi-site CJT Network extensions not loading
300 -
301 -= 8.0.1 =
302 -* Fix: Fresh installer stopping when “Adding Wordpress built-in scripts and styles as CJT Templates”
303 -* Added: Dashboard Metabox notices when CJT is not yet installed
304 -
305 -= 8.0 =
306 -* Added: Show premium extensions list in Dashboard Widget instead of Scripts Packages
307 -* Enhancement: Framework update to make CJT functionality more extendable
308 -* Removed: Code Editor Toolbar buttons and code block ‘File', ‘Edit’ and ‘View’ menu are moved to separate extensions
309 -* Removed: Editor Themes switcher list are moved to separate extension
310 -* Removed: Import and Export Tools are moved to separate extension
311 -* Fix: Conflict with other popular themes like X Theme
312 -
313 -= 7.2 =
314 -* Fix: Block Code file name moving away when open/close Block metabox
315 -* Fix: Shortcode list is too small for Shortcode names
316 -* Updated: CJT Framework for packages and extensions updates
317 -
318 -= 7.1.2 =
319 -* Added: Show Latest News on Dashboard Widget
320 -
321 -= 7.1.1 =
322 -* Added: Add Statistics Dashboard Widget that shows few useful fields.
323 -
324 -= 7.1 =
325 -* Performance: Processing and Memory optimisation for better performance.
326 -* Enhancement: Block Box Themes Support.
327 -* Enhancement: 32 Themes is now supported to be applied for the whole block box.
328 -* Enhancement: Applying theme per browser. Allow for assigning appropriate theme for different devices.
329 -* Enhancement: Assigned/All mode switchers for assignment panel list. You can show all items even not selected ones or show only assigned to the block.
330 -* Enhancement: Bullet-Proof Assignment Panel layout so it would always reserved even if another Plugin wrongly load jQuery TABS/ACCORDION Styles.
331 -* UI & Graphics: General UI enhancements.
332 -* Updated: Code editor updates.
333 -* Enhancement: Turns CJT Block into a tiny Project that host Multiple "Managed" Code-Files instead of just one.
334 -* Enhancement: No need to create a Block for each Language Type and assign them to the same Wordpress Page. One Block with Multiple Code Files solved that by creating only one Block for each assigned request.
335 -* Enhancement: Code Files Support Language Type, Code, Description and TAG fields.
336 -* Enhancement: Write Design-Time Organised Code by separating them into code-files (JS, CSS, PHP, HTML) and CJT will merge them all at run-time.
337 -* Enhancement: There is no need to write <script>, <style> or <?php ?> tags when writing Javascript, CSS or PHP Codes. Code File assigned language would take care of that.
338 -* Enhancement: Control/Modify auto-added <script>, <style> or <?php ?> TAGS by modifying Code File TAG field.
339 -* Enhancement: Automatically Change Code Editor language to currently active Code File language.
340 -* Enhancement: Manage Code Files without leaving the Block Page.
341 -* Enhancement: Block revision is now created based on the Current Active Code File. Therefore each Code File has its own revision
342 -* Enhancement: Its now possible for multiple Authors to work on the same Block by creating Multiple Code-Files.
343 -* Enhancement: Add Multiple Code Files to CJT Packages.
344 -* Feature: Block File, Edit and View Menus.
345 -* Feature: 'Load Local', 'Load Url' and 'Reload' to load Block Code from Local File, Url and Reload From Server respectively.
346 -* Feature: Save/Download Block Current Active Code File.
347 -* Feature: Undo, Redo, Find, Find Next, Find Previous, Replace, Goto Line, Goto Line Up, GoTo Line Down, GoTo Next Error, GoTo Previous Error, Fold, Fold All, UnFold, UnFold All, To Lower Case and To Upper Case Edit Menu functions added.
348 -* Feature: 'Settings' Edit Menu item for Fully Customize Code Editor Fonts, Show/Hide Print Margin, Keybinding Methods, Show/Hide Scroll, Scroll Speed, Readonly, Show/Hide Gutter, TAB Size, New Line Mode and much more!
349 -* Enhancement: Show/Hide StatusBar via View StatusBar Menu.
350 -* Enhancement: CJT Website is now support Full documentation Tutorials that expose many internal features/possibilities that can be archived by CJT.
351 -* Enhancement: Code Blocks disappeared after upgrading to Wordpress 3.9 and sever running PHP >= 5.5.
352 -* Enhancement: Packages Management System (BETA)
353 -* Enhancement: Define Shortcode Parameters by creating package and input their values from the CJT Shortcode Parameters form.
354 -
355 -= 6.1.5 =
356 -* Enhancement: Editor enhancements and updates.
357 -* Enhancement: Framework updates (Allow installing New CAC extension).
358 -* Fix: Safari Browser pagination icon position.
359 -
360 -= 6.1.4 =
361 -* Fix: Assignment Panel Pagination Icon position fixed for Safari browsers.
362 -* Remove: New Block Form Activate, Location Hook and Initial position fields.
363 -* Remove: Block Revisions.
364 -* Remove: Blocks Backup and Restore.
365 -* Remove: Assignment Panel Select-Childs Checkboxes.
366 -* Remove: Minimize and Maximize All.
367 -* Remove: Batch Process (Delete All and Delete Empty).
368 -* Remove: Output Location Switch (Header and Footer).
369 -* Remove: State Switch (Activate, Deactivate and Invert).
370 -* Remove: Shortcode TinyMCE button (Community users has to write Shortcode manually).
371 -* Remove: Don't load more assignment objects by scroll (Community users has to use the pagination list).
372 -
373 -= 6.1.3 =
374 -* UI & Graphics: UI Compatibility with Wordpress >= 3.8.
375 -* Deprecated: New Block Form Activate, Location Hook and Initial position fields.
376 -* Deprecated: Block Revisions.
377 -* Deprecated: Blocks Backup and Restore.
378 -* Deprecated: Assignment Panel Select-Childs Checkboxes.
379 -* Deprecated: Minimise and Maximise All.
380 -* Deprecated: Batch Process (Delete All and Delete Empty).
381 -* Deprecated: Output Location Switch (Header and Footer).
382 -* Deprecated: State Switch (Activate, Deactivate and Invert).
383 -* Deprecated: Shortcode TinyMCE button (Community users has to write Shortcode manually).
384 -* Deprecated: Don't load more assignment objects by scroll (Community users has to use the pagination list).
385 -
386 -= 6.1.2 =
387 -* Fix: Break Wordpress frontend page pagination by issuing 301 redirect.
388 -
389 -= 6.1.1 =
390 -* Fix: Validate block name when editing and adding blocks.
391 -* Fix: Code Blocks is not being applied on WPEngine servers and other servers related to the MYSQL query error.
392 -* Fix: Load block code one time after its first time opened as it was loaded every time the block is opened.
393 -* Enhancement: Show User-PHP code errors only when WP_DEBUG is set to TRUE.
394 -* Enhancement: Auto-Size edit-block-name text field to fit the current block-name, therefor display the name without the need of moving the cursor to the end.
395 -* Enhancement: Disable new-block form fields while saving prevent user from duplicating block when traffic is slow.
396 -
397 -= 6.1 =
398 -* Enhancement: Initially don't load Block assignment panel items: Speed up Blocks page loading time when its initially opened, also affect the browser performance as the items is not loaded or rendered before its required.
399 -* Enhancement: Initially don't load Block code for the closed/minimised Blocks: Loading those Blocks will be done through AJAX once the Block is opened by user.
400 -* Enhancement: The ability to 'Cancel' revision mode and get back to the normal mode without refreshing the whole page.
401 -* Update: Animate Block 'Save' button for not-saved Blocks.
402 -* Update: The Assignment-Panel is now Loads the assigned items only when enter the revision and backup modes.
403 -* Update: Set assignment-Panel Advanced-TAB as the default active TAB.
404 -* Add: Few helper links to the CJT official website at the top of the Blocks page.
405 -* Fix: Block 'Save' and 'Save All Changes' buttons are stay enabled after updating Block Assignment-Panel items and revert them back again. The buttons is enabled even if the Block content has not been changed.
406 -
407 -= 6.0.15 =
408 -* Enhancement: Uninstaller is now configurable so that admin can specify is to wipeout the data or not! This is really great for manual upgrade to the PE versions!
409 -
410 -= 6.0.14 =
411 -* Enhancement: Accept Shortcode parameters and segments. Provide PHP framework for code blocks to define, validate and reading Shortcode parameters.
412 -* Enhancement: Allow using block 'name' in additional to 'id' when using Shortcodes.
413 -* Fix: Failed to work with non-ascii (e.g Arabic) characters.
414 -* Enhancement: Viewing block info is now showing Shortcode using block 'name' instead of 'id'.
415 -* Enhancement: Embedded Shortcode with its closing tag as the Shortcode content is now being used by the handler blocks.
416 -* Enhancement: Revert block Shortcode 'force' parameter default value to 'true' therefore allow using multiple Shortcode for the same block without setting 'force' attribute.
417 -
418 -= 6.0.13 =
419 -* Fix: CJT hijacks Plugins page after activate or deactivate a Plugin.
420 -
421 -= 6.0.12 =
422 -* Fix: PHP code is not getting evaluated when CJT code Block delegated using Shortcode.
423 -
424 -= 6.0.11 =
425 -* Fix: Add ACE Editor PHP Worker as it was missing.
426 -* Enhancement: List only Public Custom Posts that can be accessed through Wordpress URL under Assignment Panel Custom Posts Tab. Therefor enhance performance for sites that has 'Log' custom post that might has hundreds or records read for every code block.
427 -
428 126 = 6.0.9 =
429 127 * Enhancement: Suppress PHP errors displayed under STRICT PHP configuration like PHP >= 5.4.x and therefor boost performance, increase result and security reliability!
430 128 * Fix: Installer operations state is cleared after the install/upgrade is interrupted, cause the repeats/re-executes of the install/upgrade operations.
431 129
432 130 = 6.0.7 =
433 -* Fix: text-area HTML tag break down CJT Block code.
131 +* Fix: textarea HTML tag break down CJT Block code.
434 132
435 133 = 6.0.6 =
436 134 * Fix: Conflict with other Plugins!
437 -* Fix: Javascript exception thrown when dismissing the install/upgrade notice.
438 -* Enhancement: Disallow (with user notice) upgrade/downgrade if the target version is not being supported, therefore saving user data!
439 -* Enhancement: Don't break down the site if manual upgrade/downgrade process is uncompleted! Allow user to revert back manually or disable the Plugin.
135 +* Fix: Javascript exception throwed when dismissing the install/upgrade notice.
136 +* Enhancement: Disallow (with user notice) upgrade/downgrade if the target version is not being supported, therefor saving user data!
137 +* Enhancement: Don't break down the site if manual upgrade/downgrage process is incompleted! Allow user to revert back manually or disable the Plugin.
440 138 * Enhancement: E_ALL complain! Suppress all notices when WP_DEBUG set to true, allow better development, fast performance and error handling.
441 139
442 140 = 6.0 =
443 -* Enhancement: Core code is 100% re-written for optimum performance and future enhancements, and is 100% based on MVC (Model–view–controller) design.
444 -* Enhancement: 100% Using Web 2.0
445 -* Enhancement: Applying code blocks to the requests are now enhanced to boost performance.
446 -* Feature: The ability of interacting with admin pages too - not only the website side as in the previous versions.
447 -* UI & Graphics: Light-weight and smart user-interface.
448 -* Enhancement: Multiple operations can be executed at a time! For example, you can work on a code block while another block(s) is saving.
449 -* Enhancement: Code block data is automatically revisioned after saving.
450 -* Enhancement: Hot Key added for saving code block.
451 -* Fix: Empty code blocks can now exist.
452 -* Enhancement: Interaction with each code block from a simple smart graphical Toolbox using Web 2.0
453 -* Feature: Delegate code block using Shortcodes. You can do that manually or through CJT smart TinyMCE dropdown list button.
454 -* Feature: Integrate ACE Editor to provide syntax highlighting and correction while writing codes!
455 -* Feature: Syntax highlighting for 4 languages: CSS, HTML, JavaScript and PHP.
456 -* Enhancement: Entire plugin is now extensible! CJT supports installed extensions to extend or enhance its features.
457 -* Feature: Batch operations (Toggling On and Off, Activate, Deactivate and Revert states, Delete empty and Delete all) toolbox allow for batch update of all code blocks.
458 -* Enhancement: Rename and save code block name.
459 -* Enhancement: You can now save multiple backups.
460 -* Feature: Activate and Deactivate code blocks feature.
141 +* Core code is 100% re-written for optimum performance and future enhancements, and is 100% based on MVC (Model–view–controller) design.
142 +* 100% Using Web 2.0
143 +* Applying code blocks to the requests are now enhanced to boost performance.
144 +* The ability of interacting with admin pages too - not only the website side as in the previous versions.
145 +* Light-weight and smart user-interface.
146 +* Multiple operations can be executed at a time! For example, you can work on a code block while another block(s) is saving.
147 +* Code block data is automatically revisioned after saving.
148 +* Hot Key added for saving code block.
149 +* Empty blocks can now exist.
150 +* Interaction with each code block from a simple smart graphical Toolbox using Web 2.0
151 +* Delegate code block using Shortcodes. You can do that manually or through CJT smart TinyMCE dropdown list button.
152 +* Integrate ACE Editor to provide syntax highlighting and correction while writing codes!
153 +* Syntax highlighting for 4 languages: CSS, HTML, JavaScript and PHP.
154 +* Entire plugin is now extensible! CJT supports installed extensions to extend or enhance its features.
155 +* Batch operations (Toggling On and Off, Activate, Deactivate and Revert states, Delete empty and Delete all) toolbox allow for batch update of all code blocks.
156 +* Rename and save code block name.
157 +* You can now save multiple backups.
158 +* Activate and Deactivate code blocks feature.
461 159 * Fix: blocks order was correctly displayed from the admin side, but had no effect while applying blocks to the website side.
462 -* Enhancement: Templates system is totally removed and will be presented with many enhancements via a separate extension.
463 -* Feature: Allow assigning code blocks to Posts and Custom Posts.
464 -* Feature: Apply 'Category' block to all the child posts (or sub-posts) within that category.
465 -* Feature: Assignment Panel smart feature to assist while working with hierarchical items (sub-pages, sub-categories, etc).
466 -* Enhancement: Auxiliary tab has been added to the Assignment Panel in order to organise all the predefined items (or requests) under a single tab.
467 -* Enhancement: Moved and added: 'Front Page', 'All Pages' and 'All Posts' predefined items to appear under the Auxiliary tab.
468 -* Feature: Auxiliary Assignments. Blog Index, All Categories, Recent Posts, Entire Website, Website Backend, Search Pages, All Archives, Tag Archives, Author Archives, Attachment Pages and 404 Error
469 -* Feature: Support of regular expressions for defining code block Point-To-Hook
470 -* Security: Only administrators can execute CJT backend operations.
471 -* Feature: Each block now has an Information metabox (Author, created date, modification date, and Shortcode).
472 -* Enhancement: Create New Code Block dialog with initial properties ‘Name’, ‘State’ and ‘Position'
473 -* Fix: Internal error detection routine for detecting AJAX errors that may have occurred away from users view
474 -* Added: CJT User Manual PDF file added to the /docs folder
475 -* Added: New WordPress Dashboard menu item to embrace all CJT plugin pages
476 -* Enhancement: Added separate installer and upgrade pages for both CJT v0.3 and v0.8 to allow watching of the installation processes
477 -* Enhancement: Added an uninstaller to completely erase all CJT data from the system
478 -* Compatibility: 100% tested and working with BulletProof Security (BPS) plugin after applying [simple Ajax bypass rule](https://css-javascript-toolbox.com/support/topic/bulletproof-security-ajax-issue-and-resolution-2)
160 +* Templates system is totally removed and will be presented with many enhancements via a separate extension.
161 +* Allow assigning code blocks to Posts and Custom Posts.
162 +* Apply 'Category' block to all the child posts (or sub-posts) within that category.
163 +* Assignment Panel smart feature to assist while working with hierarchical items (sub-pages, sub-categories, etc).
164 +* Auxiliary tab has been added to the Assignment Panel in order to organise all the predefined items (or requests) under a single tab.
165 +* Moved and added: 'Front Page', 'All Pages' and 'All Posts' predefined items to appear under the Auxiliary tab.
166 +* Newly defined: Blog Index, All Categories, Recent Posts, Entire Website, Website Backend, Search Pages, All Archives, Tag Archives, Author Archives, Attachment Pages and 404 Error, which are listed under the Auxiliary tab.
167 +* Support of regular expressions for defining code block Point-To-Hook
168 +* Security enhancements, only administrators can execute CJT backend operations.
169 +* Each block has an Information metabox (Author, created date, modification date, and Shortcode).
170 +* Create new block with initial properties (state, name and position).
171 +* Internal error detection routine for detecting Ajax errors that may have happened away from users view.
172 +* There is an extensive CJT User Manual PDF file attached in the /docs folder. You can also download this file through the website - click for [CJT V6 CE User Manual](http://css-javascript-toolbox.com/css-javascript-toolbox-free)
173 +* Use of a separated Dashboard item to embrace all CJT plugin pages.
174 +* Added separate installer and upgrade pages for both CJT v0.3 and v0.8 to allow watching of the installation processes.
175 +* Added an uninstaller to completely erase all CJT data from the system.
176 +* 100% tested and working with BPS (BulletProof Security) plugin, after applying [simple Ajax bypass rule](http://css-javascript-toolbox.com/support/topic/bulletproof-security-ajax-issue-and-resolution-2)
479 177
480 178 = 0.8 =
481 -* Enhancement: Template code can be modified
482 -* Feature: Code block Header and Footer feature so you can select which hook to output CSS/JS code
483 -* Enhancement: Code blocks can be re-ordered via click-n-drag
484 -* Enhancement: Code blocks can be given names, which can be edited and saved
485 -* UI & Graphics: New icons and improved user interface
486 -* Enhancement: Multilingual support. Only English translation is shipped with this version
487 -* Enhancement: Style overriding. Any higher-ordered/positioned code blocks style syntax will override lower-ordered/positioned code blocks style syntax
488 -* Feature: Built-in scripts bundled with WordPress can be used simply by checking them
489 -* Feature: Backup and Restore code blocks data
490 -* Fix: New code blocks are not toggling unless the page is refreshed
491 -* Fix: CSS/JS template ‘extra slash character’ issue
492 -* Fix: Code block deletion issues
493 -* Fix: Code is not applied to the URL list except the last URL
494 -* Fix: Cannot use string offset as array error
495 -* Fix: Invalid argument supplied foreach() error
179 +* Modifying template code.
180 +* Header and footer hooks support so you can select which hook to output CSS/JS code.
181 +* Code blocks can be reordered.
182 +* Code blocks can now be given names that can be edited and saved.
183 +* New icons and improved UI.
184 +* Multilingual support: Only English translation is shipped with this version.
185 +* Style overriding: code blocks order will allow any higher-positioned blocks style syntax to override lower-positioned blocks style syntax.
186 +* Embedded Scripts: Embedded WordPress or Scripts that are shipped out with CJToolbox plugin by just checking them.
187 +* Backup and Restore blocks data.
188 +* Bug Fix: New code blocks are not toggling unless the page is refreshed.
189 +* Bug Fix: CSS/JS template extra slash character problem.
190 +* Bug Fix: Code block deletion issues.
191 +* Bug Fix: Code is not applied to the URL list except the last URL.
192 +* Bug Fix: Cannot use string offset as array error.
193 +* Bug Fix: Invalid argument supplied foreach() error.
496 194
497 195 = 0.3 =
498 -* Launch: This is the very first release of CSS & JavaScript Toolbox
196 +* This is the very first release.
499 197
500 198 == Upgrade Notice ==
501 -= 12.0.7 =
502 -* Security: Hardened the AJAX access point against unvalidated module and action names
503 -* Security: Removed the last use of `create_function()`, removed in PHP 8.0
504 -* Maintenance: Dead files, unused images and a duplicate PHP version check removed from the package
505 199
506 -= 11.5 =
507 -* Compatibility: PHP version 8+
508 -* Compatibility: MySQL version 8+
509 -* Fix: Duplicate ID issue, which on rare occasions was fetching the 'revision block' ID for a newly created block causing an error for duplicate entry
510 -* Enhancement: If the 'wp-content' directory is renamed to something different (e.g. 'content'), CJT will now find any custom content directories and install correctly
200 += 0.8 =
201 +Its recommended to backup your database before upgrading.
202 +Templates feature/system is not available anymore! Please backup your templates data manually before upgrading.
203 +You can do this by copying and pasting CSS and JS template data into a text editor and saving your text file.
204 +If you have any other third-party plugin or software integrated with the CJT plugin database, please note that the database structure has been completely changed in CJT V6 CE.
205 +Linked scripts are now obsolete! If you've linked scripts with any code blocks, then those blocks might stop working.
206 +
207 += 0.3 =
208 +Its recommended to backup your database before upgrading.
209 +Templates feature/system is not available anymore! Please backup your templates data manually before upgrading.
210 +You can do this by copying and pasting CSS and JS template data into a text editor and saving your text file. If you have any other third-party plugin or software integrated with the CJT plugin database, please note that the database structure has been completely changed in CJT V6 CE.
211 +Code block names will get changed as 'CSS & Javascript Block' phrase will be removed and replaced by 'Block' word.
212 +The double-slashes fix modules is now obsolete! If you have extra slashes (double slashes) in your code block you have to clean it manually yourself or upgrade to version 0.8 to fix them first!
213 +
214 +== Credits ==
215 +
216 +Copyright (c) 2013, Wipeout Media.
217 +
218 +This program is free software; you can redistribute it and/or
219 +modify it under the terms of the GNU General Public License
220 +as published by the Free Software Foundation; either version 2
221 +of the License, or (at your option) any later version.
222 +
223 +This program is distributed in the hope that it will be useful,
224 +but WITHOUT ANY WARRANTY; without even the implied warranty of
225 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
226 +GNU General Public License for more details.
227 +
228 +You should have received a copy of the GNU General Public License
229 +along with this program; if not, write to the Free Software
230 +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.