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自动 - - 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自动删除 - - autosave wordpress 自动的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 邮政汽车 - -