PluginProbe
CSS & JavaScript Toolbox / 12.0.4
CSS & JavaScript Toolbox v12.0.4
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 +162 -90 1012.0.4 View file →
@@ -1,56 +1,52 @@
1 1 === CSS & JavaScript Toolbox ===
2 2 Contributors: wipeoutmedia
3 3 Author URL: https://css-javascript-toolbox.com
4 4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EWDWF75JHT9Q6
5 -Tags: CSS, JavaScript, JS, PHP, HTML, scripts, code, snippets, header, footer, widget, sidebar, shortcode, Gutenberg, code block
5 +Tags: snippets, javascript, php, scripts, code
6 6 License: GPLv2 or later
7 7 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
8 -Requires at least: 4.9 or higher
9 -Requires PHP: 5.6 or higher
10 -Tested up to: 5.5
11 -Stable tag: 10
8 +Requires at least: 5.0 or higher
9 +Requires PHP: 7.4.0
10 +Tested up to: 6.6
11 +Stable tag: 12.0.4
12 12
13 -Add CSS, JavaScript, and even HTML and PHP to our unique code blocks, then choose exactly where you want the code to run. Supports Gutenberg.
13 +Add code snippets (CSS, JavaScript, HTML, PHP) to your site and choose where it goes. Feel confident with 10 years of security & reliability.
14 14
15 15 == Description ==
16 +CSS & JavaScript Toolbox (or CJT) is a WordPress plugin that allows you to safely add CSS, JavaScript, PHP or HTML to unique code blocks that can be run anywhere on your website.
16 17
17 -Add CSS, JavaScript, and even HTML and PHP to our unique code blocks, then choose exactly where you want the code to run.
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.
18 22
19 -### WHY CJT? ###
20 -* Run your code on: Pages, Posts, Custom Posts, Tags, Categories
21 -* Run your code on common sections (e.g. 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)
22 -* Run your code via: URLs, or Regular Expressions (Regex)
23 -* Add front-end code without modifying your Theme files
24 -* Add functionality code without core file hacks or custom plugins
25 -* Embed scripts from GitHub, Code Canyon, JSFiddle, etc
26 -* Add visitor tracking, advertising and affiliate scripts
27 -* Embed social media channels or marketplace store widgets
28 -* Streamline your website development – whether solo or in a team
29 -* No need for FTP – just add your code, click save, see the change
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.
30 24
31 -### WHY GO PREMIUM? ###
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).
32 26
33 -Our CJT PLUS premium plugin gives you more options, more tools, and more flexibility. [Click for CJT PLUS Mega Sale!!!](https://css-javascript-toolbox.com/pricing)
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)
34 28
35 -### BENEFITS OF CJT PLUS ###
36 -* Add code blocks via Shortcodes (includes embedder)
37 -* Add code blocks via Widgets (e.g. for your sidebar or footer)
38 -* Add code blocks via Gutenberg blocks
39 -* Add code to Page/Post Metabox code blocks (Classic Editor)
40 -* Assignment Invert feature (e.g. run code everywhere but … )
41 -* Powerful editing with auto-formatting and syntax highlighting
42 -* Code beautify feature to tidy up your code
43 -* Code minify feature to compress code for performance
44 -* Light and dark editor themes to suits your style
45 -* Full-width and Full-screen modes for distraction-free editing
46 -* Code Auto Completion feature
47 -* Stacks of CSS, JS, PHP, and HTML code syntax or snippets
48 -* Revisions system to auto-backup your code blocks
49 -* Tested with over 100 code blocks and 1000’s of assignments
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
50 43
51 -We have kept the price very low for over 10 years, and with our mega sale on now, the price is even lower. [Click for CJT PLUS Mega Sale!!!](https://css-javascript-toolbox.com/pricing)
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)
52 45
46 +### OVERVIEW VIDEO ###
47 +https://www.youtube.com/watch?v=vYAKePVgJqE
48 +
53 49 == Installation ==
54 50 1. If you're upgrading from older versions its highly recommended to backup your database before upgrading.
55 51 2. Upload the 'css-javascript-toolbox' folder to the '/wp-content/plugins/' directory
56 52 3. Activate the plugin through the 'Plugins' menu in WordPress
@@ -55,29 +51,48 @@
55 51 2. Upload the 'css-javascript-toolbox' folder to the '/wp-content/plugins/' directory
56 52 3. Activate the plugin through the 'Plugins' menu in WordPress
57 53 4. Click 'CSS & JavaScript Toolbox' link in the main navigation (left side of your Dashboard).
58 54
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 +
59 71 == Frequently Asked Questions ==
60 72 = Why was the CJT plugin developed and what is it used for? =
61 -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).
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.
62 74
63 75 = What is a CJT 'code block'? =
64 -The CJT code block is the basic unit for writing code and to associate it with specific Wordpress requests.
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.
65 77
66 -= What is the Assignment Panel? =
67 -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.
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).
68 80
69 -= Can you select more than one item from the Assignment Panel? =
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).
83 +
84 += Can you select more than one item from the assignment panel? =
70 85 Yes. You can select any number of items you need, there is no limitation regarding this.
71 86
72 -= Can you assign multiple blocks to the same items from the Assignment Panel? =
73 -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.
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.
74 89
75 90 = What is Pages, Posts, Categories and Custom Posts tabs? =
76 -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.
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.
77 92
78 93 = What is the Auxiliary tab? =
79 -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!
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!
80 95
81 96 = Is it better to use the URLs tab, or select items if found through other tabs? =
82 97 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.
83 98
@@ -86,50 +101,111 @@
86 101
87 102 = Can I move the blocks around? =
88 103 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.
89 104
90 -= Is block saved after I click 'Create' in 'Create New Code Block' form? =
91 -Yes. The block is created and saved in your database. In order to discard the block, you have to delete it.
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.
92 107
93 -= Is block orders immediately saved after drag-and-drop block box? =
94 -No. In order to save blocks order you need to press 'Save All Changes' button.
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.
95 110
96 -= Is block immediately deleted after removed from the blocks list page? =
97 -No. After delete block you need to click 'Save All Changes' button.
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.
98 113
99 114 = I'm using the URLs tab and my code is not working? =
100 -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.
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.
101 116
102 -= Why use the Footer switch in Location/Hook? =
103 -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.
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.
104 119
105 120 = I received a weird error, what do I do now? =
106 -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 [purchase a license for any of our products](https://css-javascript-toolbox.com/pricing).
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).
107 122
108 -== Screenshots ==
109 -1. Add your code, then assign where it goes
110 -2. Create New Code Block dialog box
111 -3. Master Admin Toolbar at top, and minimised Code Blocks below
112 -4. Change editor language for syntax highlighting and error checking
113 -5. Assigning WordPress Pages and sub-pages
114 -6. Assigning WordPress Posts
115 -7. Assigning Custom Posts
116 -8. Assigning Categories and sub-categories
117 -9. Auxiliary Assignments
118 -10. Advanced Assignments (URLs and Regular Expressions)
119 -11. Change State batch tools (CJT PLUS ONLY)
120 -12. Change Location/Hook batch tools (CJT PLUS ONLY)
121 -13. Delete and Backup Tools
122 -14. Code-Files management within each Code Block (CJT PLUS ONLY)
123 -15. Templates Manager form to store all of your Code Templates
124 -16. Templates Lookup form to embed or link Code Templates to Code Blocks
125 -17. Insert Code Block shortcodes via TinyMCE button (CJT PLUS ONLY)
126 -18. Metabox Code Block at the Edit Page/Post level
127 -19. Create backups of all your existing Code Blocks
128 -20. Create/Restore Code Block revisions (CJT PLUS ONLY)
129 -21. See Code Block information at a glance (CJT PLUS ONLY)
123 +== Changelog ==
124 += 12.0.4 =
125 +* Fixed: Improved plugin security and stability
130 126
131 -== Changelog ==
127 += 12.0.3 =
128 +* Security: Fixed path traversal vulnerability in controller routing
129 +* Security: Added input validation to prevent arbitrary file inclusion
130 +* Enhancement: Improved plugin security and stability
131 +
132 += 12.0.2 =
133 +* Fix: Text domain header issue
134 +* Fix: Old PHP notices and warnings
135 +* Enhancement: Improved plugin stability
136 +
137 += 12.0.1 =
138 +* Fix: Headers already sent issue
139 +* Fix: Old PHP notices and warnings
140 +* Enhancement: Improved plugin stability
141 +
142 += 12.0 =
143 +* Compatibility: with latest WordPress version
144 +* Enhancement: Improved plugin stability
145 +* Update: ACE editor to version 1.35.3
146 +* Fix: Resolved main controller dirname null string issue
147 +* Fix: Compatibility issues with PHP > 8.0
148 +* Fix: Notice warning errors in WordPress dashboard area
149 +* Fix: Various bugs fixed
150 +
151 += 11.9.1 =
152 +* Fix: Various bugs fixed
153 +* Enhancement: Improved plugin stability
154 +
155 += 11.9 =
156 +* Fix: XSS vulnerability in shortcodes and code blocks
157 +* Fix: Bugs fixed
158 +
159 += 11.8 =
160 +* Fix: XSS vulnerability
161 +* Fix: Bugs fixed
162 +
163 += 11.7 =
164 +* Fix: PHP version 8 fatal issue
165 +* Fix: Updated old composer logic, updated file require path, and some other minor formatting
166 +* Fix: PHP version 8+ issue where Block ID Info panel and Assignment Info panel does not show
167 +
168 += 11.6 =
169 +* Enhancement: Updated ACE Editor to v1.15.0
170 +* Fix: Bugs fixed
171 +
172 += 11.5 =
173 +* Compatibility: PHP version 8+
174 +* Compatibility: MySQL version 8+
175 +* 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
176 +* 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
177 +
178 += 11.4 =
179 +* Removed: Auxiliary and Advanced tabs are removed for CJT new installs. Existing CJT users with active code blocks still get them
180 +* Enhancement: All mouse hover-over popups are faster and more responsive
181 +
182 += 11.3 =
183 +* Fix: URL Assignment tab is now working as expected
184 +* Fix: Inverter functionality was not being displayed in the frontend
185 +
186 += 11.2 =
187 +* Added: New links for CJT PLUS license validation
188 +
189 += 11.0 =
190 +* 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
191 +* Enhancement: Assignments Panel
192 +* Enhancement: Templates Panel
193 +* Enhancement: Code Files Panel
194 +* Enhancement: Revisions Panel
195 +* Enhancement: Code Block Toolbar
196 +* Enhancement: Code Block InfoBar (added Shortcode copy feature)
197 +* Enhancement: Group Font Size Buttons
198 +* Enable/Disable: Toolbox menu when block is saved
199 +* Fix: Framework incompatibility version
200 +* Fix: Metabox Block InfoBar elements
201 +* Fix: Minifier was not working
202 +* Moved: Code Block Toolbar buttons
203 +* Moved: Code Block Toolbar editor menu (i.e. File, Edit, Settings) to Editor Toolbar as buttons
204 +* Removed: Clear Block (clears all Code Block code) Editor Toolbar button
205 +* Removed: Footer/Header All batch buttons
206 +* Show: Incompatible Hooks "Warning" Notice
207 +
132 208 = 10.0 =
133 209 * Fix: Styling fixes for WordPress version 5.5
134 210 * Enhancement: Updated ACE Editor to v1.4.12
135 211 * Enhancement: Improve snippet manager
@@ -249,11 +325,11 @@
249 325 * Feature: Block File, Edit and View Menus.
250 326 * Feature: 'Load Local', 'Load Url' and 'Reload' to load Block Code from Local File, Url and Reload From Server respectively.
251 327 * Feature: Save/Download Block Current Active Code File.
252 328 * 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.
253 -* Feature: 'Settings' Edit Menu item for Fully Customize Code Editor Fonts, Show/Hide Print Margine, Keybinding Methods, Show/Hide Scroll, Scroll Speed, Readonly, Show/Hide Gutter, TAB Size, New Line Mode and much more!
329 +* 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!
254 330 * Enhancement: Show/Hide StatusBar via View StatusBar Menu.
255 -* Enhancement: CJT Website is now support Full documentation Tutorials that expose many internal features/possibilities that can be achived by CJT.
331 +* Enhancement: CJT Website is now support Full documentation Tutorials that expose many internal features/possibilities that can be archived by CJT.
256 332 * Enhancement: Code Blocks disappeared after upgrading to Wordpress 3.9 and sever running PHP >= 5.5.
257 333 * Enhancement: Packages Management System (BETA)
258 334 * Enhancement: Define Shortcode Parameters by creating package and input their values from the CJT Shortcode Parameters form.
259 335
@@ -267,9 +343,9 @@
267 343 * Remove: New Block Form Activate, Location Hook and Initial position fields.
268 344 * Remove: Block Revisions.
269 345 * Remove: Blocks Backup and Restore.
270 346 * Remove: Assignment Panel Select-Childs Checkboxes.
271 -* Remove: Minimize and Mazimize All.
347 +* Remove: Minimize and Maximize All.
272 348 * Remove: Batch Process (Delete All and Delete Empty).
273 349 * Remove: Output Location Switch (Header and Footer).
274 350 * Remove: State Switch (Activate, Deactivate and Invert).
275 351 * Remove: Shortcode TinyMCE button (Community users has to write Shortcode manually).
@@ -402,13 +478,9 @@
402 478 = 0.3 =
403 479 * Launch: This is the very first release of CSS & JavaScript Toolbox
404 480
405 481 == Upgrade Notice ==
406 -= 10.0 =
407 -* Fix: Styling fixes for WordPress version 5.5
408 -* Enhancement: Updated ACE Editor to v1.4.12
409 -* Enhancement: Improve snippet manager
410 -* Enhancement: Add placeholder option
411 -* Added: Option to disable auto-indent
412 -* Added: New language modes
413 -* Fix: Double space being converted to dot on mobile keyboards
414 -* Fix: Backspace not working with some mobile keyboards
482 += 11.5 =
483 +* Compatibility: PHP version 8+
484 +* Compatibility: MySQL version 8+
485 +* 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
486 +* 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