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.為了保護用戶免受意外失去的書面或草案時, Web瀏覽器崩潰或標籤被意外關閉。 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.不過,有以往任何時候都只有最多一個自動版本為任何特定的職位。 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為網站管理員誰要採取郵政修訂歷史跟踪的基礎上的每一個自動複製取得,是有選擇的力量在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配置文件:

define(’WP_POST_REVISIONS’, int ); 界定( ' wp_post_revisions ' , 詮釋 ) ;

where int is an integer bigger than 0 (0 represents false which詮釋是一個整數大於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去保存和存儲每郵寄或每頁在數據庫中。 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 我的數字生活論壇 .



Leave a Reply離開的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用這些標籤:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <刪除日期時間= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱無評論


Custom Search

New Articles新的條款,

Incoming Search Terms for the Article傳入的搜索條件文章

wordpress 2.6 autosave 在WordPress 2.6自動 - - autosave wordpress 自動的WordPress - - recover wordpress drafts overwrite 收回的WordPress草稿覆蓋 - - how to store integer number? 如何存儲整數? - - how to remove autosave and versions wordpress 2.6 如何刪除自動和2.6版本的WordPress - - autosave error in wordpress 2.6 自動誤差在WordPress 2.6 - - how to store every post 如何存儲每一個崗位 - - wordpress close autosave 在WordPress自動關閉 - - wordpress save post to WordPress所儲存郵政 - - wordpress disable revisions and autosave WordPress所禁用的修改和自動 - - wordpress limit number of revisions 在WordPress限制一些修改 - - how to disable post auto save feature in wordpress 2.6 如何禁用後自動儲存功能,在WordPress 2.6 - - wordpress 2.6 and save post error 在WordPress 2.6和保存POST錯誤 - - wordpress 2.6 autosave problems 在WordPress 2.6自動問題 - - wordpress 2.6 save draft 在WordPress 2.6保存草稿 - - orkut account is storing my email id how to disable it Orkut帳戶是存放我的電子郵件身份證如何禁用它 - - php autosave PHP的自動 - - wordpress force draft save 在WordPress武力草案保存 - - wordpress save edited post 在WordPress保存修改後 - - wordpress saved entries WordPress所儲存的項目 - - wordpress how delete autosave post 在WordPress如何刪除自動郵政 - - limit word press autosaves 2.6 限字的新聞autosaves 2.6 - - wordpress 2.6 number.of.post.revisions 在WordPress 2.6 number.of.post.revisions - - wordpress limit page revisions WordPress所限制的網頁修改 - - how wordpress save the post 如何在WordPress保存後 - - wordpress delete autosave 在WordPress自動刪除 - - how to disable gmails auto save 如何禁用gmails自動儲存 - - where does wordpress save post 那裡的WordPress保存後 - - wordpress 2.6 remove autosave versions 在WordPress 2.6刪除自動版本 - - wordpress download post "limit number" 在WordPress下載郵報“限制人數” - - Wordpress count number of visitors per post 在WordPress計數的訪問者人數後 - - develop autosave 發展自動 - - where are wordpress articles stored? 哪裡的WordPress物品儲存在哪裡? - - where does wordpress save auto saves 那裡的WordPress保存自動保存 - - wordpress force autosave 在WordPress自動生效 - - wordpress disable save draft 在WordPress禁用保存草稿 - - turn auto save off in gmail 關閉自動保存在Gmail小康 - - how to limit post revisions wordpress 如何限制後修改的WordPress - - how to delet auto save email id ms outlook 如何delet自動儲存電子郵件編號女士展望 - - how to delete auto save email address 如何刪除自動儲存的電子郵件地址 - - wordpress disable auto save 在WordPress停用自動儲存 - - post page autosave wordpress 帖子頁自動的WordPress - - wordpress disable autosave drafts 在WordPress禁用自動草稿 - - wordpress delete autosave post 在WordPress自動刪除後 - - delete AUTOSAVE mysql wordpress 刪除自動的MySQL的WordPress - - how to store integer number 如何存儲整數 - - wordpress turn on auto-save 在WordPress開啟自動保存 - - wordpress auto save draft 在WordPress自動保存草稿 - - how to limit the number of WP post versions 如何限制人數可濕性粉劑後的版本 - - post auto 郵政汽車 - -