Changeset 3224935
- Timestamp:
- 01/18/2025 08:53:11 PM (14 months ago)
- Location:
- just-writing
- Files:
-
- 30 added
- 2 deleted
- 18 edited
- 1 copied
-
assets/banner-772x250.jpg (modified) (1 prop) (previous)
-
assets/icon-128x128.jpg (modified) (1 prop) (previous)
-
assets/icon-256x256.jpg (modified) (1 prop) (previous)
-
assets/screenshot-1.png (modified) (1 prop) (previous)
-
assets/screenshot-2.png (modified) (1 prop) (previous)
-
assets/screenshot-3.png (modified) (1 prop) (previous)
-
assets/screenshot-4.png (modified) (1 prop) (previous)
-
assets/screenshot-5.png (modified) (1 prop) (previous)
-
assets/screenshot-6.png (modified) (1 prop) (previous)
-
assets/source-banner-772x250.png (modified) (1 prop) (previous)
-
assets/source-icon-128x128.png (modified) (1 prop) (previous)
-
assets/source-icon-256x256.png (modified) (1 prop) (previous)
-
tags/4.0 (copied) (copied from just-writing/trunk)
-
tags/4.0/4.5/just-writing-options.4.5.php (modified) (1 diff)
-
tags/4.0/5.7 (added)
-
tags/4.0/5.7/editor.css (added)
-
tags/4.0/5.7/editor.min.css (added)
-
tags/4.0/5.7/just-writing-buttons.5.7.php (added)
-
tags/4.0/5.7/just-writing-editor.5.7.css (added)
-
tags/4.0/5.7/just-writing-editor.5.7.js (added)
-
tags/4.0/5.7/just-writing-editor.5.7.php (added)
-
tags/4.0/5.7/just-writing-options.5.7.js (added)
-
tags/4.0/5.7/just-writing-options.5.7.php (added)
-
tags/4.0/5.7/just-writing-user-setup.5.7.php (added)
-
tags/4.0/5.7/just-writing.5.7.css (added)
-
tags/4.0/5.7/just-writing.5.7.js (added)
-
tags/4.0/5.7/just-writing.5.7.php (added)
-
tags/4.0/5.7/tinymce (added)
-
tags/4.0/5.7/tinymce/plugin.js (added)
-
tags/4.0/just-writing.php (modified) (10 diffs)
-
tags/4.0/languages (deleted)
-
tags/4.0/readme.txt (modified) (8 diffs)
-
trunk/4.5/just-writing-options.4.5.php (modified) (1 diff)
-
trunk/5.7 (added)
-
trunk/5.7/editor.css (added)
-
trunk/5.7/editor.min.css (added)
-
trunk/5.7/just-writing-buttons.5.7.php (added)
-
trunk/5.7/just-writing-editor.5.7.css (added)
-
trunk/5.7/just-writing-editor.5.7.js (added)
-
trunk/5.7/just-writing-editor.5.7.php (added)
-
trunk/5.7/just-writing-options.5.7.js (added)
-
trunk/5.7/just-writing-options.5.7.php (added)
-
trunk/5.7/just-writing-user-setup.5.7.php (added)
-
trunk/5.7/just-writing.5.7.css (added)
-
trunk/5.7/just-writing.5.7.js (added)
-
trunk/5.7/just-writing.5.7.php (added)
-
trunk/5.7/tinymce (added)
-
trunk/5.7/tinymce/plugin.js (added)
-
trunk/just-writing.php (modified) (10 diffs)
-
trunk/languages (deleted)
-
trunk/readme.txt (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
just-writing/assets/banner-772x250.jpg
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/jpeg
-
Property
svn:mime-type
changed from
-
just-writing/assets/icon-128x128.jpg
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/jpeg
-
Property
svn:mime-type
changed from
-
just-writing/assets/icon-256x256.jpg
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/jpeg
-
Property
svn:mime-type
changed from
-
just-writing/assets/screenshot-1.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
just-writing/assets/screenshot-2.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
just-writing/assets/screenshot-3.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
just-writing/assets/screenshot-4.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
just-writing/assets/screenshot-5.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
just-writing/assets/screenshot-6.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
just-writing/assets/source-banner-772x250.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
just-writing/assets/source-icon-128x128.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
just-writing/assets/source-icon-256x256.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
just-writing/tags/4.0/4.5/just-writing-options.4.5.php
r1406948 r3224935 173 173 } 174 174 175 wp_register_script( 'justwritingoptions_js', plugins_url( '', __FILE__ ) . '/just-writing-options.4.5.js' ); 175 $file_version = JustWritingFileVersion(); 176 177 wp_register_script( 'justwritingoptions_js', plugins_url( '', __FILE__ ) . '/just-writing-options.' . $file_version . '.js' ); 176 178 wp_enqueue_script( 'justwritingoptions_js' ); 177 179 -
just-writing/tags/4.0/just-writing.php
r2363352 r3224935 2 2 /* 3 3 Plugin Name: Just Writing 4 Version: 3.9.14 Version: 4.0 5 5 Plugin URI: http://toolstack.com/just-writing 6 6 Author: Greg Ross … … 14 14 Read the accompanying readme.txt file for instructions and documentation. 15 15 16 Copyright (c) 2013-202 0by Greg Ross16 Copyright (c) 2013-2025 by Greg Ross 17 17 18 18 This software is released under the GPL v2.0, see license.txt for details … … 28 28 if( !function_exists( 'JustWritingLoad' ) ) 29 29 { 30 define( 'JustWritingVersion', ' 3.9.1' );30 define( 'JustWritingVersion', '4.0' ); 31 31 32 32 // Load the translation code. … … 38 38 39 39 // Add translation action. 40 add_action(' plugins_loaded', 'just_writing_language');41 40 add_action('init', 'just_writing_language'); 41 42 42 Function JustWritingFileVersion() 43 43 { 44 44 GLOBAL $wp_version; 45 45 46 46 if( version_compare( $wp_version, '3.9', '<' ) ) 47 47 { 48 48 return '3.5'; 49 49 } 50 50 51 51 // We compare against 4.0.99 in the second version compare to ensure we use the right version for beta/rc versions of WP. 52 52 if( version_compare( $wp_version, '3.9', '>=' ) && version_compare( $wp_version, '4.0.99', '<=') ) … … 67 67 } 68 68 69 return '4.5'; 69 // We compare against 5.6.99 in the second version compare to ensure we use the right version for beta/rc versions of WP. 70 if( version_compare( $wp_version, '4.5', '>=' ) && version_compare( $wp_version, '5.6.99', '<=') ) 71 { 72 return '4.5'; 73 } 74 75 return '5.7'; 70 76 } 71 77 72 78 /* 73 79 This function is called during a page/post page load that we're editing. … … 77 83 JustWritingLoad( 'edit' ); 78 84 } 79 85 80 86 /* 81 87 This function is called during a new page/post page. … … 87 93 88 94 $file_version = JustWritingFileVersion(); 89 95 90 96 include_once( $file_version . '/just-writing.' . $file_version . '.php' ); 91 97 include_once( $file_version . '/just-writing-editor.' . $file_version . '.php' ); … … 93 99 94 100 // Check to see if we're installed and are the current version. 95 if( get_option('just_writing_plugin_version') != JustWritingVersion ) 96 { 101 if( get_option('just_writing_plugin_version') != JustWritingVersion ) 102 { 97 103 include_once( dirname( __FILE__ ) . '/just-writing-install.php' ); 98 104 } 99 105 100 106 // Add the admin page to the settings menu. 101 107 add_action( 'admin_menu', 'JustWritingAddSettingsMenu', 1 ); … … 107 113 add_action( 'admin_head-post-new.php', 'JustWritingLoadNew' ); 108 114 add_action( 'admin_head-post.php', 'JustWritingLoadEdit' ); 109 115 110 116 // Handle the user profile items 111 117 add_action( 'show_user_profile', 'JustWritingLoadProfile' ); … … 113 119 add_action( 'personal_options_update', 'JustWritingSaveProfile' ); 114 120 add_action( 'edit_user_profile_update', 'JustWritingSaveProfile' ); 115 121 116 122 // Handle adding DFWM to the post/page rows 117 123 add_filter('post_row_actions', 'JustWritingLinkRow',10,2); 118 124 add_filter('page_row_actions', 'JustWritingLinkRow',10,2); 119 125 120 126 // Handle adding Writing mode to the post/pages menu 121 127 add_action( 'admin_menu', 'JustWritingEditorMenuItem' ); -
just-writing/tags/4.0/readme.txt
r3004691 r3224935 6 6 Tags: admin posts writing DFW 7 7 Requires at least: 3.5.0 8 Tested up to: 6. 4.19 Stable tag: 3.9.18 Tested up to: 6.7.1 9 Stable tag: 4.0 10 10 License: GPLv2 11 11 … … 39 39 * H2 * Strikethrough 40 40 * H3 * Subscript 41 * H4 * Superscript 41 * H4 * Superscript 42 42 * H5 * Underline 43 43 * H6 * Undo 44 * Indent 44 * Indent 45 45 46 46 = More Features = … … 52 52 * Option to center the toolbar on screen 53 53 * Adds an optional Preview button to the right of the Save button 54 * Moves the exit link to the right of the new Preview 54 * Moves the exit link to the right of the new Preview 55 55 button as a real button 56 56 * Re-orders the button list to make more sense … … 75 75 * Support for full meta data editing inside of Writing mode. 76 76 * Closing and re-arranging postboxes in the meta area are not saved between sessions. 77 77 78 78 = License = 79 79 80 80 This code is released under the GPL v2, see license.txt for details. 81 81 … … 147 147 148 148 == Changelog == 149 = 4.0 = 150 * Release date: January 18, 2025 151 * Fixed warnings with language text domain loading. 152 * Added support for WordPress 5.7+. 153 149 154 = 3.9.1 = 150 155 * Release date: August 17, 2020 … … 168 173 * Update to support WordPress 4.3. 169 174 170 = 3.6.2 = 175 = 3.6.2 = 171 176 * Release date: January 28, 2015 172 177 * Update utility class to avoid re-declaration errors. … … 316 321 * Added option to use a listbox instead of individual buttons 317 322 * Fixed bug in border option selector which would not allow you to save the hide option 318 323 319 324 = 2.3 = 320 325 * Release date: October 26, 2013 … … 324 329 * Added option to start in DFW when editing posts 325 330 * Added 'lighter' border option for title/body area 326 * Cleaned up the De/Select All code in the user profile page, should work with all 331 * Cleaned up the De/Select All code in the user profile page, should work with all 327 332 browsers now 328 333 -
just-writing/trunk/4.5/just-writing-options.4.5.php
r1406948 r3224935 173 173 } 174 174 175 wp_register_script( 'justwritingoptions_js', plugins_url( '', __FILE__ ) . '/just-writing-options.4.5.js' ); 175 $file_version = JustWritingFileVersion(); 176 177 wp_register_script( 'justwritingoptions_js', plugins_url( '', __FILE__ ) . '/just-writing-options.' . $file_version . '.js' ); 176 178 wp_enqueue_script( 'justwritingoptions_js' ); 177 179 -
just-writing/trunk/just-writing.php
r2363352 r3224935 2 2 /* 3 3 Plugin Name: Just Writing 4 Version: 3.9.14 Version: 4.0 5 5 Plugin URI: http://toolstack.com/just-writing 6 6 Author: Greg Ross … … 14 14 Read the accompanying readme.txt file for instructions and documentation. 15 15 16 Copyright (c) 2013-202 0by Greg Ross16 Copyright (c) 2013-2025 by Greg Ross 17 17 18 18 This software is released under the GPL v2.0, see license.txt for details … … 28 28 if( !function_exists( 'JustWritingLoad' ) ) 29 29 { 30 define( 'JustWritingVersion', ' 3.9.1' );30 define( 'JustWritingVersion', '4.0' ); 31 31 32 32 // Load the translation code. … … 38 38 39 39 // Add translation action. 40 add_action(' plugins_loaded', 'just_writing_language');41 40 add_action('init', 'just_writing_language'); 41 42 42 Function JustWritingFileVersion() 43 43 { 44 44 GLOBAL $wp_version; 45 45 46 46 if( version_compare( $wp_version, '3.9', '<' ) ) 47 47 { 48 48 return '3.5'; 49 49 } 50 50 51 51 // We compare against 4.0.99 in the second version compare to ensure we use the right version for beta/rc versions of WP. 52 52 if( version_compare( $wp_version, '3.9', '>=' ) && version_compare( $wp_version, '4.0.99', '<=') ) … … 67 67 } 68 68 69 return '4.5'; 69 // We compare against 5.6.99 in the second version compare to ensure we use the right version for beta/rc versions of WP. 70 if( version_compare( $wp_version, '4.5', '>=' ) && version_compare( $wp_version, '5.6.99', '<=') ) 71 { 72 return '4.5'; 73 } 74 75 return '5.7'; 70 76 } 71 77 72 78 /* 73 79 This function is called during a page/post page load that we're editing. … … 77 83 JustWritingLoad( 'edit' ); 78 84 } 79 85 80 86 /* 81 87 This function is called during a new page/post page. … … 87 93 88 94 $file_version = JustWritingFileVersion(); 89 95 90 96 include_once( $file_version . '/just-writing.' . $file_version . '.php' ); 91 97 include_once( $file_version . '/just-writing-editor.' . $file_version . '.php' ); … … 93 99 94 100 // Check to see if we're installed and are the current version. 95 if( get_option('just_writing_plugin_version') != JustWritingVersion ) 96 { 101 if( get_option('just_writing_plugin_version') != JustWritingVersion ) 102 { 97 103 include_once( dirname( __FILE__ ) . '/just-writing-install.php' ); 98 104 } 99 105 100 106 // Add the admin page to the settings menu. 101 107 add_action( 'admin_menu', 'JustWritingAddSettingsMenu', 1 ); … … 107 113 add_action( 'admin_head-post-new.php', 'JustWritingLoadNew' ); 108 114 add_action( 'admin_head-post.php', 'JustWritingLoadEdit' ); 109 115 110 116 // Handle the user profile items 111 117 add_action( 'show_user_profile', 'JustWritingLoadProfile' ); … … 113 119 add_action( 'personal_options_update', 'JustWritingSaveProfile' ); 114 120 add_action( 'edit_user_profile_update', 'JustWritingSaveProfile' ); 115 121 116 122 // Handle adding DFWM to the post/page rows 117 123 add_filter('post_row_actions', 'JustWritingLinkRow',10,2); 118 124 add_filter('page_row_actions', 'JustWritingLinkRow',10,2); 119 125 120 126 // Handle adding Writing mode to the post/pages menu 121 127 add_action( 'admin_menu', 'JustWritingEditorMenuItem' ); -
just-writing/trunk/readme.txt
r3004691 r3224935 6 6 Tags: admin posts writing DFW 7 7 Requires at least: 3.5.0 8 Tested up to: 6. 4.19 Stable tag: 3.9.18 Tested up to: 6.7.1 9 Stable tag: 4.0 10 10 License: GPLv2 11 11 … … 39 39 * H2 * Strikethrough 40 40 * H3 * Subscript 41 * H4 * Superscript 41 * H4 * Superscript 42 42 * H5 * Underline 43 43 * H6 * Undo 44 * Indent 44 * Indent 45 45 46 46 = More Features = … … 52 52 * Option to center the toolbar on screen 53 53 * Adds an optional Preview button to the right of the Save button 54 * Moves the exit link to the right of the new Preview 54 * Moves the exit link to the right of the new Preview 55 55 button as a real button 56 56 * Re-orders the button list to make more sense … … 75 75 * Support for full meta data editing inside of Writing mode. 76 76 * Closing and re-arranging postboxes in the meta area are not saved between sessions. 77 77 78 78 = License = 79 79 80 80 This code is released under the GPL v2, see license.txt for details. 81 81 … … 147 147 148 148 == Changelog == 149 = 4.0 = 150 * Release date: January 18, 2025 151 * Fixed warnings with language text domain loading. 152 * Added support for WordPress 5.7+. 153 149 154 = 3.9.1 = 150 155 * Release date: August 17, 2020 … … 168 173 * Update to support WordPress 4.3. 169 174 170 = 3.6.2 = 175 = 3.6.2 = 171 176 * Release date: January 28, 2015 172 177 * Update utility class to avoid re-declaration errors. … … 316 321 * Added option to use a listbox instead of individual buttons 317 322 * Fixed bug in border option selector which would not allow you to save the hide option 318 323 319 324 = 2.3 = 320 325 * Release date: October 26, 2013 … … 324 329 * Added option to start in DFW when editing posts 325 330 * Added 'lighter' border option for title/body area 326 * Cleaned up the De/Select All code in the user profile page, should work with all 331 * Cleaned up the De/Select All code in the user profile page, should work with all 327 332 browsers now 328 333
Note: See TracChangeset
for help on using the changeset viewer.