How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count Làm thế nào để Store Mỗi bản xem lại bài Mỗi ngày Auto-Save trong WordPress với giới hạn về Phiên Bản Count

AutoSave feature has been added into WordPress core since AutoSave tính năng đã được thêm vào WordPress lõi kể từ version 2.1 phiên bản 2,1 to protect user from accidental lose of writing or draft when web browser crashes or tab been accidentally closed. để bảo vệ người dùng khỏi tình cờ mất của dự thảo văn bản hoặc khi trang web treo trình duyệt hoặc tab bị vô tình đóng cửa. 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. AutoSave sẽ tự động lưu một bản sao của bài edited hoặc trang mỗi 60 giây cung cấp có sự thay đổi về nội dung trong trình biên tập.

However, there is only ever a maximum of one AutoSave version for any given post. Tuy nhiên, chỉ có bao giờ tối đa là phiên bản AutoSave một cho bất kỳ bài nào. New AutoSaves created will overwrite old AutoSaves. AutoSaves mới tạo ra sẽ ghi đè lên AutoSaves cũ. 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. Bên cạnh đó, AutoSaves được lưu trữ như là một kiểu đặc biệt sửa đổi để tự động lưu với một phiên bản gần đây của các dữ liệu không ghi đè lên nội dung thực tế được xuất bản, và được sử dụng để khôi phục lại chưa được lưu công việc chỉ khi cần thiết.

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 Đối với webmaster của những ai muốn tham gia một lịch sử sửa đổi bài theo dõi dựa trên mỗi và mọi AutoSave chép được thực hiện, có một tùy chọn mà lực lượng WordPress để tiết kiệm từng tự động lưu bản sao của nội dung đăng bài cũng như là một phiên bản đăng bài, một tính năng được giới thiệu trong 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: Để lưu và lưu trữ một bài hoặc trang như là một phiên bản sửa đổi bất cứ khi nào AutoSave được kích hoạt, thêm vào dòng mã sau đây để wp-config.php file cấu hình:

define('WP_POST_REVISIONS', int );

where int is an integer bigger than 0 (0 represents false which nơi int là một số nguyên lớn hơn 0 (0 đại diện cho sai mà disable post revisions storage vô hiệu hóa sửa đổi bài lưu trữ ). ). 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. Tập số nguyên sẽ đại diện cho giới hạn số lượng các phiên bản đăng WordPress sẽ lưu và lưu trữ cho mỗi bài hoặc mỗi trang trong cơ sở dữ liệu. Each AutoSave session will increase the revision count by 1 too. Mỗi phiên AutoSave sẽ tăng số phiên bản của 1 quá. If the number of revisions already exceed the limit, oldest revisions are automatically deleted. Nếu số phiên bản đã vượt quá giới hạn, lâu đời nhất sửa đổi sẽ được tự động xóa. Note that AutoSave will always have its own saved copy to reflect the most current changes. Lưu ý rằng AutoSave sẽ luôn luôn có bản sao lưu của riêng mình để phản ánh những thay đổi mới nhất.

IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.


Leave a Reply Để lại một trả lời

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> Bạn có thể sử dụng các thẻ: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q <strike> <strong>

Subscribe to comments feature has been disabled. Thuê bao với ý kiến đều đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo mới nhất đăng ý kiến, đăng ký với My Digital Life Comments RSS feed My Digital Life kiến RSS feed or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong email tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm đến các Điều khoản Điều

where does wordpress store posts nơi nào wordpress bài lưu trữ - -- where does wordpress store posts? nơi nào wordpress bài viết lưu trữ? - -- how to retrieving Auto Archives làm thế nào để lấy Auto Archives - -- where does wordpress store pages nơi nào wordpress các trang lưu trữ - -- recover wordpress drafts phục hồi bản thảo wordpress - -- where does wordpress store content nơi nào lưu trữ nội dung wordpress - -- "where does wordpress store pages" "nơi nào wordpress các trang lưu trữ" - -- where does wordpress store page files? nơi nào tập wordpress trang lưu trữ? - -- "where does wordpress store posts" "nơi nào wordpress bài viết lưu trữ" - -- where does wordpress store post content nơi nào nội dung wordpress đăng bài lưu trữ - -- wordpress access post revision wordpress truy cập đăng bài sửa đổi - -- recover lost wordpress draft phục hồi bị mất dự thảo wordpress - -- wordpress reset post count wordpress số bài đặt lại - -- wordpress autosave off wordpress Autosave off - -- wordpress recover draft wordpress phục hồi bản dự thảo - -- wordpress, delete autosaves wordpress, xóa autosaves - -- limiting the number of post revisions saved hạn chế số lượng các sửa đổi bài đã lưu - -- where does wordpress stores posts? nơi nào wordpress cửa hàng gửi? - -- In microsoft office which application auto saves revisions Trong văn phòng microsoft mà ứng dụng tự động tiết kiệm được sửa đổi - -- wordpress delete autosaves wordpress xóa autosaves - -- wordpress revisions recover sửa đổi wordpress phục hồi - -- delete wordpress post revisions wordpress xóa bài sửa đổi - -- how to retrieve saved drafts from wordpress làm thế nào để lấy bản thảo được lưu từ wordpress - -- how can i turn off the autosave draft option in yahoo mail làm thế nào tôi có thể tắt tùy chọn dự thảo Tự động lưu trong yahoo mail - -- save draft word press lost part of post tiết kiệm dự thảo từ báo chí bị mất một phần của bài - -- why does wordpress save every edit? tại sao wordpress lưu mọi sửa? - -- wordpress, save auto drafts wordpress, lưu bản thảo tự động - -- wordpress force autosave wordpress lực Autosave - -- access the wordpress autosave feature truy cập vào các tính năng Autosave wordpress - -- where does wordpress store posts nơi nào wordpress bài lưu trữ - -- recover old revision wordpress wordpress phục hồi phiên bản cũ - -- restore from autosave on wordpress khôi phục lại từ Autosave trên wordpress - -- where does wordpress store its posts nơi nào wordpress lưu bài viết của mình - -- how does wordpress store posts như thế nào wordpress bài lưu trữ - -- how to you access older versions of an autosave page in wordpress? làm thế nào để bạn truy cập các phiên bản cũ của một trang Autosave trong wordpress? - -- turn off draft auto yahoo mail tắt dự thảo yahoo mail tự động - -- accidentally deleted draft + wordpress vô tình xóa dự thảo + wordpress - -- how to autosave file long get post in firefox làm thế nào để Tự động lưu tập tin dài được đăng trong firefox - -- how to retrieve auto saves on windows vista làm thế nào để lấy lại tự động lưu trên cửa sổ vista - -- wordpress save loses draft wordpress lưu mất dự thảo - -- wordpress recovering post translations older wordpress phục hồi bài bản dịch cũ - -- auto save draft wordpress lost tự động tiết kiệm dự thảo wordpress bị mất - -- old auto drafts wordpress bản thảo tự động cũ wordpress - -- wordpress save draft losing custom field values wordpress tiết kiệm dự thảo mất đi những giá trị trường tùy chỉnh - -- browser crashed wordpress draft revisions Trình duyệt bị rơi wordpress dự thảo sửa đổi - -- wordpress recover autosave wordpress phục hồi Autosave - -- retrieve an autosaved post revision in wordpress lấy một phiên bản đăng autosaved trong wordpress - -- wordpress how to access autosave drafts wordpress làm thế nào để truy cập vào bản thảo Autosave - -- yahoo mail and autosave feature yahoo mail và tính năng Autosave - -- delete autosave wordpress xóa wordpress Autosave - --