How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Countすべての投稿の改訂を格納する方法について、各自動保存さWordPressの数を制限しているバージョン
AutoSave feature has been added into WordPress core since自動保存機能をWordPressのコアが追加されて以来 version 2.1バージョン2.1 to protect user from accidental lose of writing or draft when web browser crashes or tab been accidentally closed.偶然を失うからユーザを保護するのドラフト時に書面またはウェブブラウザがクラッシュしたり]タブを誤って閉じている。 AutoSave will auto save a copy of edited post or page every 60 seconds provided there is a change on the content in the editor.自動保存が自動的に保存するページのコピーを投稿したり編集60秒ごとに変更するには、提供されるコンテンツは、エディタを起動します。
However, there is only ever a maximum of one AutoSave version for any given post.しかし、最大までには1つのみのバージョンを任意の自動作成します。 New AutoSaves created will overwrite old AutoSaves.新しいautosaves古いautosaves作成が上書きされます。 Beside, AutoSaves are stored as a special type of revision so that the auto saved with a more recent version of data does not overwrite actual published content, and is used to restore unsaved work only when necessary.横に、 autosavesとして格納され、特別なタイプのリビジョンして、自動保存すると、他の最近のバージョンのデータを上書きされない実際の発行済みコンテンツ、および復元を使用して必要なときにのみ保存されていない作品です。
For webmaster who wants to take a post revision history tracking based on each and every AutoSave copy been made, there is an option that force WordPress to save each auto saved copy of post content also as a post revision, a feature introduced inウェブマスターwhoしたいを作成改訂履歴のトラッキングを取るに基づいて各自動コピーされて、強制的にはWordPressのオプションを自動保存を保存する各コンテンツのコピーを郵便ポストとしてもリビジョンは、導入された機能 WordPress 2.6 WordPressの2.6 .です。
To save and store a post or page as a revision version whenever AutoSave is triggered, add in the following line of code to wp-config.php configuration file:を保存して格納するに改訂版のページを投稿したりときに自動保存がきっかけで、次のコード行を追加するには、 config.phpを設定ファイルのWP :
define(’WP_POST_REVISIONS’, int ); 定義( ' wp_post_revisions ' 、 int ) ;
where int is an integer bigger than 0 (0 represents false whichどこより大きいintは、整数0 ( 0虚偽を表す disable post revisions storage改訂後のストレージを無効に ). ) 。 The integer number set will represent the limit of number of post revisions WordPress going to save and store per post or per page in database.の整数を表す番号を設定すると、上限の数は、改正後にWordPressの投稿を保存して、ストア1または1ページをデータベースです。 Each AutoSave session will increase the revision count by 1 too.各セッションの自動保存のリビジョンの数が増加1が判明しました。 If the number of revisions already exceed the limit, oldest revisions are automatically deleted.改版数の場合、すでに限界を超えて、最古の改正が自動的に削除されます。 Note that AutoSave will always have its own saved copy to reflect the most current changes.に注意して、独自の自動保存は常に最新のコピーを反映して変更を適用します。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。
Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。
Related Articles関連記事
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above無効にしたり、改正後のトラッキングを無効にするにWordPress 2.6以降で動作
- How to Delete Existing WordPress Post Revisions Stored/Saved既存のWordPressの投稿を削除する方法の改訂に格納/保存
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page周波数または間隔を変更する方法についてのWordPressの自動作成やページの編集を保存する
- Retrieve and Get WordPress Post ID Outside the Loop as PHP Variable郵便番号取得し、取得WordPressのPHP変数として外部のループ
- WordPress 2.6 with Change Revision Tracking Feature Available for Free Download WordPressの2.6を変更するリビジョン無料でダウンロードトラッキング機能がご利用いただけます。
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working paginatingまたは分割WordPressのページに投稿したりnextpageにWordPressが機能しない
- Adding Extra More Fields to WordPress Write/Edit Post/Page Right Column余分な他のフィールドを追加するWordPressの書き込み/編集ポスト/ページの右側の列
- Disable Auto Go To (Jump) To Read More Tag無効にオートに行く(ジャンプ)をタグの続きを読む
- WordPress MySQL SQL Query Error in WPDB Class WordPressのMySQLのSQLクエリにエラーが発生wpdbクラス
- Manage Tags in WordPress 2.3 with Advanced Tag Entry and Click Tags Plugins管理タグはWordPress 2.3と高度なタグのエントリをクリックしてタグの差込