Plugin Directory

Changeset 2172406


Ignore:
Timestamp:
10/13/2019 11:58:10 AM (6 years ago)
Author:
wpautosave
Message:

Update plugin to version 1.1.0

Location:
wp-autosave/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-autosave/trunk/README.txt

    r1981316 r2172406  
    55Tags: save, autosave, editor, draft, post
    66Requires at least: 3.0.1
    7 Tested up to: 4.9.8
     7Tested up to: 5.2.3
    88Requires PHP: 5.6
    99Stable tag: 4.9
     
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1212
    13 Plugin for automatically saving a post from the editor to drafts by timer or by changes in editor
     13"Wp-autosave" plugin is for automatically saving posts being written in the Classic Editor
    1414
    1515== Description ==
    16 Plugin for automatically saving a post from the editor to drafts by timer or by changes in editor 
     16"Wp-autosave" plugin is for automatically saving posts  being written in the Classic Editor
     17
     18**Note:**
     19This plugin works as an additional module to the [Classic Editor](https://wordpress.org/plugins/classic-editor/) plugin by [WordPress Contributors](https://github.com/WordPress/classic-editor/) since [WordPress version 5.0+](https://wordpress.org/support/wordpress-version/version-5-0/), because the original Classic Editor was replaced with a new editor - Gutenberg.
     20So the original Classic Editor plugin is required to work with WP-Autosave plugin for all actual WordPress versions.   
     21
     22In case of older versions of WordPress (<5.0), the original Classic Editor plugin is not required because Classic Editor is used by default.
    1723
    1824**Major features of plugin:**
    19 - Auto-save post to drafts at regular time intervals by multipart requests with a randomly generated boundary separator. _(To check the functionality it's enough to have the rights to create an entry in the wp-blog (you can test through a user-account) - you will see all requests through the developer tools or some other tools)_
    20 - Intellectual immediately auto-save post to drafts when you change the text in the editor.
     25- Auto-save post to drafts at regular time intervals by multipart requests. _(To check the functionality it's enough to have the rights to create an entry in the wp-blog (you can test through a user-account) - you will see all requests through the developer tools or some other tools)_
     26- Intellectual immediately auto-save post to drafts when you change the text in the editor
    2127- You can attach a time-stamp to request through the settings of the plugin (appendix time of saving in the query) 
    22 - You can set your own auto-save interval 
     28- You can set your auto-save interval 
    2329- You can choose the type of saving - by time intervals or when content is changed 
    2430
    2531== Installation ==
    26 Manual install: Upload plugin folder "wp-autosave" to "plugins" directory of your wordpress app and hit "activate" in plugins menu
    27 From store: Upload the wp-autosave plugin to your blog and activate it
    28 As easy as 1,2,3!
     32**Prerequisites:**
     33To use *WP-Autosave* plugin you need installed [Classic Editor](https://wordpress.org/plugins/classic-editor/) plugin (in case of WordPress version 5.0+)
     34
     35**Manual Installation:**
     36- Download *"wp-autosave.zip"* archive from this page with the *"Download"* button
     37- Unzip directory *"wp-autosave"* with plugin from archive into *"plugins"* directory of your WordPress Installation  (e.g. *wp-content/plugins/wp-autosave*)
     38- Hit the *"Activate"* button in plugins menu of WordPress administration console
     39
     40**Installing from WordPress plugins:**
     41- Find *"WP-Autosave"* plugin in the plugins menu of your WordPress administration console
     42- Hit *"Install"* and then *"Activate"*
    2943
    3044== Frequently Asked Questions ==
    31 = How to use it? = 
    32 Just activate plugin and write something in editor - everything you will write
    33 will be saved in drafts by your type of saving 
    34  
     45= How to use this plugin? = 
     46To use the plugin just install and activate it from your WordPress administration console, and after that everything that you write in your editor will be automatically saved in drafts.
     47The frequency of saving depends on the settings. 
     48
    3549= What is minimal time to save by intervals? = 
    36 It depends on you: if you want, you can set time interval even to 0.1 sec 
    37  
    38 = What if my connection will lost and i will be disconnected from server? = 
    39 Don't worry: plugin automatically check your connection, and if you will lost it, plugin will wait until connection will be restored and continue his work 
     50It depends on you: if you want, you can set a time interval even to any value in seconds, but the preferable value is 30 seconds.
     51
     52= What will happen if my connection is lost and I am disconnected from the server? = 
     53Don't worry. The plugin automatically checks your connection. If you lose it, the plugin will wait until the connection is restored.
     54As a result, all your changes will be saved. 
    4055
    4156== Screenshots ==
     
    4358
    4459== Changelog ==
    45 = 1.0 =
    46 * First stable version
     60= 1.1.0 =
     61* Update to WordPress 5.2.*
     62* Update installation instructions
     63* Update information and documentation
     64* Update the core modules of the plugin
     65* Fix a bug when the plugin can be installed incorrectly
     66* Fix a bug when the last character of a post can be lost in the draft
     67* Improve plugin stability
    4768
    4869= 1.0.1 =
    49 * Improvements
     70* Update to WordPress 4.9.*
     71* Update documentation
     72* Improve plugin stability
    5073
     74= 1.0 =
     75* Stable version release
    5176
    5277== Upgrade Notice ==
     78= 1.1.0 =
     79* Update to WordPress 5.2.*
     80
     81= 1.0.1 =
     82* Update to WordPress 4.9.*
     83
    5384= 1.0 =
    54 * Initial install
     85* Stable version release
  • wp-autosave/trunk/public/js/wp-autosave-editor-script.js

    r1858496 r2172406  
    184184      * https://stackoverflow.com/questions/2071257/generating-multipart-boundary/5686863.
    185185      */ 
     186
     187    // Bugfix: Force call to TinyMCE lib to update textarea and save last chars
     188    try {
     189      tinyMCE.get('content').save();
     190    } catch(e) {}
     191
    186192    var boundary = generateRandomHex(56);
    187193    var endline = '\r\n';
  • wp-autosave/trunk/wp-autosave.php

    r1981316 r2172406  
    1111 * Plugin Name:       wp-autosave
    1212 * Description:       Auto-save your post to draft at regular intervals
    13  * Version:           1.0.1
     13 * Version:           1.1.0
    1414 * Author:            wp-autosave team
    1515 * License:           GPL-2.0+
     
    6767 * Rename this for your plugin and update it as you release new versions.
    6868 */
    69 define( 'PLUGIN_NAME_VERSION', '1.0.0' );
     69define( 'PLUGIN_NAME_VERSION', '1.1.0' );
    7070
    7171/**
Note: See TracChangeset for help on using the changeset viewer.